Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33130380 authored by Yo Chiang's avatar Yo Chiang Committed by Gerrit Code Review
Browse files

Merge "Dismiss DSU notification in executeDiscardCommand()"

parents 8dcc0164 569c31ce
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -321,6 +321,9 @@ public class DynamicSystemInstallationService extends Service

        if (!isDynamicSystemInstalled() && (getStatus() != STATUS_READY)) {
            Log.e(TAG, "Trying to discard AOT while there is no complete installation");
            // Stop foreground state and dismiss stale notification.
            stopForeground(STOP_FOREGROUND_REMOVE);
            resetTaskAndStop();
            return;
        }