summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2022-02-17 17:51:38 -0800
committer Nate Myren <ntmyren@google.com> 2022-02-28 08:23:19 -0800
commiteb4e3d20da268a26cea68cb365ce7a26e384d351 (patch)
tree79fdc0f2b8a413b4af7a50e02a5a77120ae6adee /libs/androidfw/StringPool.cpp
parent09076f0af2715438fd5ceeb052424f1ee0c936cf (diff)
Restrict what activity launches show permission prompts
Only show a permission prompt if the activity is a launcher, the calling app is the same as the opened intent app, or the isEligibleForLegacyPermissionPrompt ActivityOption is set. Also prevents the dialog from showing while the keyguard is locked. Test: atest NotificationPermissionTest Bug: 194833441 Fixes: 220891438 Change-Id: Ie5381af045d538a5b822bb1ccdf62b1dd916114f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions