Fix IllegalStateException after onSaveInstanceState
This commit is contained in:
parent
6c4920949d
commit
4ca7ed9f8c
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ public final class NavigationHelper {
|
||||||
defaultTransaction(fragmentManager)
|
defaultTransaction(fragmentManager)
|
||||||
.replace(R.id.fragment_player_holder, instance)
|
.replace(R.id.fragment_player_holder, instance)
|
||||||
.runOnCommit(() -> sendPlayerStartedEvent(instance.requireActivity()))
|
.runOnCommit(() -> sendPlayerStartedEvent(instance.requireActivity()))
|
||||||
.commit();
|
.commitAllowingStateLoss();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void openChannelFragment(final FragmentManager fragmentManager,
|
public static void openChannelFragment(final FragmentManager fragmentManager,
|
||||||
|
|
Loading…
Reference in a new issue