mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix check pip
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -568,7 +568,7 @@ class PlPlayerController {
|
|||||||
|
|
||||||
if (Platform.isAndroid && autoPiP) {
|
if (Platform.isAndroid && autoPiP) {
|
||||||
Utils.sdkInt.then((sdkInt) {
|
Utils.sdkInt.then((sdkInt) {
|
||||||
if (sdkInt < 12) {
|
if (sdkInt < 31) {
|
||||||
Utils.channel.setMethodCallHandler((call) async {
|
Utils.channel.setMethodCallHandler((call) async {
|
||||||
if (call.method == 'onUserLeaveHint') {
|
if (call.method == 'onUserLeaveHint') {
|
||||||
if (playerStatus.playing &&
|
if (playerStatus.playing &&
|
||||||
|
|||||||
Reference in New Issue
Block a user