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