Merge "Removing a notification that isn't there isn't a big deal." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a0e0d5806c
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user