summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author dakinola <dakinola@google.com> 2024-07-11 14:29:51 +0000
committer Daniel Akinola <dakinola@google.com> 2024-07-18 09:51:01 +0000
commitff3b69cd56d5166ae8e4e553376a8e41388ac322 (patch)
tree9ae6b739df10b1fe6424435ab73627008fca0025 /libs/androidfw/ZipFileRO.cpp
parent983f5c5e7e88fc531d70bdfdf560b590dd8a5a3f (diff)
Update string logic for disabling MediaProjection single app option
Previously, the single app option for MediaProjection could only be disabled if there was an app name provided when building the dialog. Additionally, we only attempted to extract an app name if the requesting package didn't have cast permission. Now we always attempt to extract an app name (using the package name as a fallback), remove the condition of there being an app name to disabling the single app option and no longer rely on the app name being null to indicate if a package has cast permissions. Bug: 329362311 Bug: 348323406 Flag: EXEMPT bugfix Test: atest MediaProjectionPermissionDialogDelegateTest Change-Id: Ica761c7145856ef7e701cc1fc6ef4c5e72938915
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions