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

Commit b4cea781 authored by Abhijoy Saha's avatar Abhijoy Saha Committed by Android (Google) Code Review
Browse files

Merge "Add phone call check to app opp usage callback." into sc-dev

parents ee5ed9df 381edd74
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)
            }