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

Commit a9fa4da4 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Synchronize reading of NotificationRecord

Test: none
Fixes: 135511679
Change-Id: I6d8b0192960c7371246a1a9a3b16e74b0174539f
parent c4ced654
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;
    }