We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39f8889 + fe0806a commit a0e0d58Copy full SHA for a0e0d58
services/java/com/android/server/StatusBarManagerService.java
@@ -489,7 +489,8 @@ public void removeNotification(IBinder key) {
489
synchronized (mNotifications) {
490
final StatusBarNotification n = mNotifications.remove(key);
491
if (n == null) {
492
- throw new IllegalArgumentException("removeNotification key not found: " + key);
+ Slog.e(TAG, "removeNotification key not found: " + key);
493
+ return;
494
}
495
if (mBar != null) {
496
try {
0 commit comments