mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-21 22:31:23 +00:00
-Fixed player new share intent causing main player crash due to player activity in background.
This commit is contained in:
@@ -153,7 +153,10 @@ public final class MainVideoPlayer extends AppCompatActivity
|
||||
protected void onNewIntent(Intent intent) {
|
||||
if (DEBUG) Log.d(TAG, "onNewIntent() called with: intent = [" + intent + "]");
|
||||
super.onNewIntent(intent);
|
||||
playerImpl.handleIntent(intent);
|
||||
if (intent != null) {
|
||||
playerState = null;
|
||||
playerImpl.handleIntent(intent);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user