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

Commit 06d8343c 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

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

Change-Id: I358ce66f6ecdc220c1b1ca64f4da670fb6d93fe7
parents 2c8f3c93 b4cea781
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)
            }