commit | cdb61441a0aaa1b4d9a914eabc40498cf22dbaa1 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Thu Dec 22 03:07:19 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Dec 22 03:07:19 2016 +0000 |
tree | c679ac7e89132e4b8a75bdaf5ab85c844fd13961 | |
parent | 792ab20c1ba15b60ff7f14c429a602802a315e23 [diff] | |
parent | 08e147a7d06cd1ae67386e0cd61a1e82071ef31b [diff] |
NetworkNotificationManager: remove spammy log am: 9430f95c21 am: 08e147a7d0 Change-Id: I2b9b1b52e11ddf784244eedf1311f3b015841215
diff --git a/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java b/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java index c0550c6..70faa5a 100644 --- a/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java +++ b/services/core/java/com/android/server/connectivity/NetworkNotificationManager.java
@@ -221,11 +221,10 @@ } public void clearNotification(int id) { - final String tag = tagFor(id); if (mNotificationTypeMap.indexOfKey(id) < 0) { - Slog.e(TAG, "cannot clear unknown notification with tag=" + tag); return; } + final String tag = tagFor(id); final int eventId = mNotificationTypeMap.get(id); if (DBG) { Slog.d(TAG, String.format("clearing notification tag=%s event=%s", tag,