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

Commit 3ad11104 authored by Abhijoy Saha's avatar Abhijoy Saha Committed by Automerger Merge Worker
Browse files

Merge "Add phone call check to app opp usage callback." into sc-dev am: b4cea781 am: 7d482257

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14356610

Change-Id: Id93162440fd8b52e7a3a919fbc71046a89342df0
parents 3258c65b 7d482257
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -151,7 +151,9 @@ class PrivacyItemController @Inject constructor(
                return
            }
            val userId = UserHandle.getUserId(uid)
            if (userId in currentUserIds) {
            if (userId in currentUserIds ||
                    code == AppOpsManager.OP_PHONE_CALL_MICROPHONE ||
                    code == AppOpsManager.OP_PHONE_CALL_CAMERA) {
                logger.logUpdatedItemFromAppOps(code, uid, packageName, active)
                update(false)
            }