diff options
| author | 2024-09-19 16:25:07 +0200 | |
|---|---|---|
| committer | 2024-09-27 12:37:20 +0000 | |
| commit | 48d0c57f674d3cf7b0d0f3302ced5ddc9c953241 (patch) | |
| tree | 841ef3d695744ab1cfeae250e7569f0a82cfeb84 /libs/androidfw/AttributeResolution.cpp | |
| parent | 634d93a1302c0aa0b87933a518b6731767c5d63b (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
Change-Id: I908ea1eabbb4e477f3849a6d05f498bfa7bd2099
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions