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:
LisoUseInAIKyrios 2024-12-19 15:18:18 +04:00
parent 5eea86cbe7
commit 894e36665d

View File

@ -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);