Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7cb9714 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Synchronize reading of NotificationRecord"

parents c03fe274 a9fa4da4
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -5122,6 +5122,7 @@ public class NotificationManagerService extends SystemService {
            }
        }

        synchronized (mNotificationLock) {
            // snoozed apps
            if (mSnoozeHelper.isSnoozed(userId, pkg, r.getKey())) {
                MetricsLogger.action(r.getLogMaker()
@@ -5140,6 +5141,7 @@ public class NotificationManagerService extends SystemService {
            if (isBlocked(r, mUsageStats)) {
                return false;
            }
        }

        return true;
    }