diff options
| author | 2023-04-06 18:23:49 -0700 | |
|---|---|---|
| committer | 2023-04-07 01:29:35 +0000 | |
| commit | 98261b47d4761583d6a1689f46353a9d4db94d33 (patch) | |
| tree | a7cbf023dbf44d804b4ffb9617aaed1f2b4e0980 /libs/androidfw/StringPool.cpp | |
| parent | 2fad91a2b7e9774a28df801565bc051c656ebc6d (diff) | |
[MediaProjection] Fix package visibility check
getApplicationInfoAsUser should not be called after
clearCallingIdentity, otherwise the package visibility restrictions are
not applied.
BUG: 276936135
Test: atest
com.android.server.pm.test.appenumeration.AppEnumerationInternalTests#mediaProjectionManager_createProjection_cannotSeeTarget
Change-Id: I4325bf55aee7a658dbf7d7c86be76fcb443331df
Change-Id: I119fb86d0b1f06638e0d55aeebc1b092fd7a7f6b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions