summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Achim Thesmann <achim@google.com> 2024-10-14 05:46:55 +0000
committer Achim Thesmann <achim@google.com> 2024-10-14 05:53:43 +0000
commit65f452b596237004cdba760b6164988452e90314 (patch)
tree928b81ec2ac6e473e26b30f19e01026f131a9fd1 /libs/androidfw/StringPool.cpp
parente6b787e9355a3e0c81684277c04369ec01ad079f (diff)
Consider SAW permission for real caller
This commit addresses an issue where the BAL (background activity launch) logic was not properly considering the SAW (System Alert Window) permission for the real caller. Added logic to check for the SAW permission when determining the exemption in the path for the real caller (analog to the caller). Added a test to verify the fix. For more context, see the Android documentation on background starts: https://developer.android.com/guide/components/activities/background-starts Test: atest BackgroundActivityStartControllerExemptionTests Flag: com.android.window.flags.bal_additional_start_modes Bug: 327738445 Change-Id: I0594d47d15d9bc9aaf7b7da9242000c61686403b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions