mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 12:32:31 +01:00
Merge pull request #4549 from Stypox/fix-showMiniPlayer
Fix IllegalStateException after onSaveInstanceState
This commit is contained in:
commit
90cb9d3de1
@ -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 New Issue
Block a user