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

Commit c4259933 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev

parents eff0a83a 0f2daaf2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -505,9 +505,9 @@ public class BugreportProgressService extends Service {
            Log.d(TAG, "Removing ID " + id);
            mProcesses.remove(id);
        }
        stopSelfWhenDone();
        Log.v(TAG, "stopProgress(" + id + "): cancel notification");
        NotificationManager.from(mContext).cancel(TAG, id);
        stopSelfWhenDone();
    }

    /**