fix(YouTube - Open Shorts in regular player): Do not show the miniplayer after opening a Short while a video is playing
This commit is contained in:
parent
670f100a29
commit
c7f42d9a3c
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ public class OpenShortsInRegularPlayerPatch {
|
|||
Intent.ACTION_VIEW,
|
||||
Uri.parse("https://youtube.com/watch?v=" + videoID)
|
||||
);
|
||||
videoPlayerIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
videoPlayerIntent.setPackage(context.getPackageName());
|
||||
|
||||
context.startActivity(videoPlayerIntent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue