diff --git a/src/org/lineageos/updater/controller/UpdaterService.java b/src/org/lineageos/updater/controller/UpdaterService.java index 18a51e2d..de57624f 100644 --- a/src/org/lineageos/updater/controller/UpdaterService.java +++ b/src/org/lineageos/updater/controller/UpdaterService.java @@ -220,7 +220,8 @@ public class UpdaterService extends Service { } private void tryStopSelf() { - if (!mHasClients && !mUpdaterController.hasActiveDownloads()) { + if (!mHasClients && !mUpdaterController.hasActiveDownloads() && + !mUpdaterController.isInstallingUpdate()) { Log.d(TAG, "Service no longer needed, stopping"); stopSelf(); }