mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-12 23:47:32 +01:00
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
5eea86cbe7
commit
894e36665d
@ -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…
x
Reference in New Issue
Block a user