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

Commit 10632fc9 authored by Richard MacGregor's avatar Richard MacGregor Committed by Android (Google) Code Review
Browse files

Merge "Update method annotation to ensure lock is held" into main

parents ade00290 a7f5b4d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -306,6 +306,7 @@ public final class SensitiveContentProtectionManagerService extends SystemServic
        }
    }

    @GuardedBy("mSensitiveContentProtectionLock")
    private void updateAppsThatShouldBlockScreenCapture() {
        RankingMap rankingMap;
        try {
@@ -318,6 +319,7 @@ public final class SensitiveContentProtectionManagerService extends SystemServic
        updateAppsThatShouldBlockScreenCapture(rankingMap);
    }

    @GuardedBy("mSensitiveContentProtectionLock")
    private void updateAppsThatShouldBlockScreenCapture(RankingMap rankingMap) {
        StatusBarNotification[] notifications;
        try {