NetworkNotificationManager: remove spammy log am: 02e5966fac

am: 29a41b05d1

Change-Id: I2b9b1b52e11ddf784244eedf1311f3b015841215
This commit is contained in:
Hugo Benichi
2016-12-22 03:07:19 +00:00
committed by android-build-merger

View File

@@ -221,11 +221,10 @@ public class NetworkNotificationManager {
} }
public void clearNotification(int id) { public void clearNotification(int id) {
final String tag = tagFor(id);
if (mNotificationTypeMap.indexOfKey(id) < 0) { if (mNotificationTypeMap.indexOfKey(id) < 0) {
Slog.e(TAG, "cannot clear unknown notification with tag=" + tag);
return; return;
} }
final String tag = tagFor(id);
final int eventId = mNotificationTypeMap.get(id); final int eventId = mNotificationTypeMap.get(id);
if (DBG) { if (DBG) {
Slog.d(TAG, String.format("clearing notification tag=%s event=%s", tag, Slog.d(TAG, String.format("clearing notification tag=%s event=%s", tag,