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

am: 3c5c386e6c

* commit '3c5c386e6cfa7deb1bd404abc1b62f12201f021c':
  Call stopSelfWhenDone() *after* canceling the notification.
This commit is contained in:
Felipe Leme
2016-03-08 22:00:55 +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();
}
/**