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

Commit 970bd094 authored by Yo Chiang's avatar Yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "Dismiss DSU notification in executeDiscardCommand()" am: 33130380 am:...

Merge "Dismiss DSU notification in executeDiscardCommand()" am: 33130380 am: 7af64dd1 am: 9e476443

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1448418

Change-Id: I594969a53e55a148ce6277dae47e9b1e4f888b6b
parents 9dafdcee 9e476443
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;
        }