mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 避免媒体通知消失(玄学)
This commit is contained in:
@@ -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();
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 暂停播放
|
/// 暂停播放
|
||||||
|
|||||||
Reference in New Issue
Block a user