summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Vadim Caen <caen@google.com> 2024-09-19 16:25:07 +0200
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-10-08 00:08:28 +0000
commit57cda4b305a24193907ebf3b5b2932f3eb337dc0 (patch)
treefb364b103baa5a985424f9540232a37ddd11df1d /api/api.go
parent9d141947ad563367779edb13dd5a9747f7686db1 (diff)
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 48d0c57f674d3cf7b0d0f3302ced5ddc9c953241) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5e4fdb100b7e31b473d254eac1a06d2417543c0d) Merged-In: I908ea1eabbb4e477f3849a6d05f498bfa7bd2099 Change-Id: I908ea1eabbb4e477f3849a6d05f498bfa7bd2099
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions