am a0e0d580: Merge "Removing a notification that isn\'t there isn\'t a big deal." into jb-dev

* commit 'a0e0d5806c9aa12e291d9ceb60a35eb9b7fde5b0':
  Removing a notification that isn't there isn't a big deal.
This commit is contained in:
Daniel Sandler
2012-05-16 10:16:44 -07:00
committed by Android Git Automerger

View File

@@ -489,7 +489,8 @@ public class StatusBarManagerService extends IStatusBarService.Stub
synchronized (mNotifications) {
final StatusBarNotification n = mNotifications.remove(key);
if (n == null) {
throw new IllegalArgumentException("removeNotification key not found: " + key);
Slog.e(TAG, "removeNotification key not found: " + key);
return;
}
if (mBar != null) {
try {