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

Commit e276c35a authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

No need to grab lock for single read

The read is atomic anyway.

Test: Built
Change-Id: I0d62248913c2c702b62852ced5d1e60b8502d9dc
parent 998c6ad1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -7810,10 +7810,8 @@ public class AppOpsManager {
     * @hide
     */
    public static boolean isCollectingNotedAppOps() {
        synchronized (sLock) {
        return sNotedAppOpsCollector != null;
    }
    }

    /**
     * Callback an app can choose to {@link #setNotedAppOpsCollector register} to monitor it's noted