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

Skip to content
Commit 57cda4b3 authored by Vadim Caen's avatar Vadim Caen Committed by Android Build Coastguard Worker
Browse files

Check AppOp using noteOp instead os isOpActive

isOpActive is only true if startOp was called, which is not the case for
mediaprojection session.

Bug: 367301791
Test: com.android.server.media.projection.MediaProjectionManagerServiceTest#testCreateProjection_keyguardLocked_AppOpMediaProjection
Flag: android.companion.virtualdevice.flags.media_projection_keyguard_restrictions
(cherry picked from commit 48d0c57f)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5e4fdb100b7e31b473d254eac1a06d2417543c0d)
Merged-In: I908ea1eabbb4e477f3849a6d05f498bfa7bd2099
Change-Id: I908ea1eabbb4e477f3849a6d05f498bfa7bd2099
parent 9d141947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment