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

am: c4259933d1

* commit 'c4259933d1d4db04baae87e74da8a1b000d8b595':
  Call stopSelfWhenDone() *after* canceling the notification.
This commit is contained in:
Felipe Leme
2016-03-08 21:27:02 +00:00
committed by android-build-merger

View File

@@ -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();
}
/**