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) {
|
if (notificationUpdater != null) {
|
||||||
notificationUpdater.run();
|
notificationUpdater.run();
|
||||||
}
|
}
|
||||||
cancelNotificationUpdater();
|
handler.post(() -> {
|
||||||
stopForeground(true);
|
cancelNotificationUpdater();
|
||||||
stopSelf();
|
stopForeground(true);
|
||||||
|
stopSelf();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user