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
1 changed files with 1 additions and 1 deletions

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,