Merge "Dismiss DSU notification in executeDiscardCommand()" am: 3313038017 am: 7af64dd1f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1448418 Change-Id: Ia170a72614648614cb33c8ff079531f1507899d0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user