fix check pip

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-18 16:17:32 +08:00
parent 32e71dbf65
commit 1368733a24

View File

@@ -568,7 +568,7 @@ class PlPlayerController {
if (Platform.isAndroid && autoPiP) {
Utils.sdkInt.then((sdkInt) {
if (sdkInt < 12) {
if (sdkInt < 31) {
Utils.channel.setMethodCallHandler((call) async {
if (call.method == 'onUserLeaveHint') {
if (playerStatus.playing &&