summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-05-16 10:12:48 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-16 10:12:48 -0700
commita0e0d5806c9aa12e291d9ceb60a35eb9b7fde5b0 (patch)
treeea15f19cb091e19eb515f5c068be75ddc6d46af4
parent39f8889d987221531fef013ad3caaedcb23e7383 (diff)
parentfe0806a3b60ff54c7444a51b91353e2299ed1bca (diff)
downloadframeworks_base-a0e0d5806c9aa12e291d9ceb60a35eb9b7fde5b0.zip
frameworks_base-a0e0d5806c9aa12e291d9ceb60a35eb9b7fde5b0.tar.gz
frameworks_base-a0e0d5806c9aa12e291d9ceb60a35eb9b7fde5b0.tar.bz2
Merge "Removing a notification that isn't there isn't a big deal." into jb-dev
-rw-r--r--services/java/com/android/server/StatusBarManagerService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/java/com/android/server/StatusBarManagerService.java b/services/java/com/android/server/StatusBarManagerService.java
index 8429086..78c0c12 100644
--- a/services/java/com/android/server/StatusBarManagerService.java
+++ b/services/java/com/android/server/StatusBarManagerService.java
@@ -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 {