Huawei battery saver fix

This commit is contained in:
exttex 2020-08-19 22:36:39 +02:00
parent 3e5641b3c2
commit 37f97f9992

View File

@ -62,7 +62,7 @@ class PlayerHelper {
await AudioService.start(
backgroundTaskEntrypoint: backgroundTaskEntrypoint,
androidEnableQueue: true,
androidStopForegroundOnPause: true,
androidStopForegroundOnPause: false,
androidNotificationOngoing: false,
androidNotificationClickStartsActivity: true,
androidNotificationChannelDescription: 'Freezer',
@ -585,4 +585,4 @@ class Seeker {
void stop() {
_running = false;
}
}
}