1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-08-31 18:07:57 +00:00

Fix IllegalStateException after onSaveInstanceState

This commit is contained in:
Stypox
2020-10-17 16:13:42 +02:00
parent 6c4920949d
commit 4ca7ed9f8c

View File

@@ -406,7 +406,7 @@ public final class NavigationHelper {
defaultTransaction(fragmentManager)
.replace(R.id.fragment_player_holder, instance)
.runOnCommit(() -> sendPlayerStartedEvent(instance.requireActivity()))
.commit();
.commitAllowingStateLoss();
}
public static void openChannelFragment(final FragmentManager fragmentManager,