Merge "Suppress noisy log"

This commit is contained in:
TreeHugger Robot
2019-06-21 13:41:18 +00:00
committed by Android (Google) Code Review

View File

@@ -5130,7 +5130,9 @@ public class NotificationManagerService extends SystemService {
protected boolean isBlocked(NotificationRecord r, NotificationUsageStats usageStats) {
if (isBlocked(r)) {
Slog.e(TAG, "Suppressing notification from package by user request.");
if (DBG) {
Slog.e(TAG, "Suppressing notification from package by user request.");
}
usageStats.registerBlocked(r);
return true;
}