Fixed download service notification not being updated to 'Stopping service'
This commit is contained in:
parent
ef24f6d1f4
commit
d3bf107363
|
@ -643,8 +643,10 @@ public class DownloadService extends Service {
|
|||
if (notificationUpdater != null) {
|
||||
notificationUpdater.run();
|
||||
}
|
||||
cancelNotificationUpdater();
|
||||
stopForeground(true);
|
||||
stopSelf();
|
||||
handler.post(() -> {
|
||||
cancelNotificationUpdater();
|
||||
stopForeground(true);
|
||||
stopSelf();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue