1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 12:32:31 +01:00

Fix IllegalStateException after onSaveInstanceState

This commit is contained in:
Stypox 2020-10-17 16:13:42 +02:00
parent 6c4920949d
commit 4ca7ed9f8c
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

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,