mod: 避免媒体通知消失(玄学)

This commit is contained in:
orz12
2024-09-08 19:17:09 +08:00
committed by bggRGjQaUbCoE
parent f4a3c43fb6
commit 33beafbf87

View File

@@ -900,13 +900,13 @@ class PlPlayerController {
audioSessionHandler.setActive(true); audioSessionHandler.setActive(true);
Future.delayed(const Duration(milliseconds: 100), () { // Future.delayed(const Duration(milliseconds: 100), () {
getCurrentVolume(); // getCurrentVolume();
if (setting.get(SettingBoxKey.enableAutoBrightness, defaultValue: false) // if (setting.get(SettingBoxKey.enableAutoBrightness, defaultValue: false)
as bool) { // as bool) {
getCurrentBrightness(); // getCurrentBrightness();
} // }
}); // });
} }
/// 暂停播放 /// 暂停播放