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

Commit 85f908e1 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Remove notification right after clicking on cancel" am: 00cf589f am:...

Merge "Remove notification right after clicking on cancel" am: 00cf589f am: 08be4d35 am: cb0b5bd9

Change-Id: If98a311504bd706987776c8a51b6e8b2bd144347
parents 638498c3 cb0b5bd9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -262,10 +262,11 @@ public class DynamicSystemInstallationService extends Service
            return;
        }

        stopForeground(true);
        mJustCancelledByUser = true;

        if (mInstallTask.cancel(false)) {
            // Will cleanup and post status in onResult()
            // Will stopSelf() in onResult()
            Log.d(TAG, "Cancel request filed successfully");
        } else {
            Log.e(TAG, "Trying to cancel installation while it's already completed.");