Huawei battery saver fix
This commit is contained in:
parent
3e5641b3c2
commit
37f97f9992
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user