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);
|
||||
|
||||
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();
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
/// 暂停播放
|
||||
|
||||
Reference in New Issue
Block a user