1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-21 14:01:01 +01:00

modified: lib/class/audiostate.dart

This commit is contained in:
stonegate 2020-04-02 20:36:20 +08:00
parent b6fa0be33f
commit 2a89a6eaff

View File

@ -222,6 +222,7 @@ class AudioPlayerNotifier extends ChangeNotifier {
androidNotificationIcon: 'drawable/ic_notification', androidNotificationIcon: 'drawable/ic_notification',
enableQueue: true, enableQueue: true,
androidStopOnRemoveTask: true, androidStopOnRemoveTask: true,
androidStopForegroundOnPause: true
); );
_playerRunning = true; _playerRunning = true;
if (_autoPlay) { if (_autoPlay) {