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);
Future.delayed(const Duration(milliseconds: 100), () {
getCurrentVolume();
if (setting.get(SettingBoxKey.enableAutoBrightness, defaultValue: false)
as bool) {
getCurrentBrightness();
}
});
// Future.delayed(const Duration(milliseconds: 100), () {
// getCurrentVolume();
// if (setting.get(SettingBoxKey.enableAutoBrightness, defaultValue: false)
// as bool) {
// getCurrentBrightness();
// }
// });
}
/// 暂停播放