1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Merge pull request #4549 from Stypox/fix-showMiniPlayer

Fix IllegalStateException after onSaveInstanceState
This commit is contained in:
Tobias Groza 2020-10-23 21:58:20 +02:00 committed by GitHub
commit 90cb9d3de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,