summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2022-03-07 11:35:16 -0800
committer Nate Myren <ntmyren@google.com> 2022-03-07 12:13:35 -0800
commit980ab95c437366f988983db9d546cc284d90fd3a (patch)
treebad425d1c4891c8dc5b72c9d37bca7f250f45fb6 /libs/androidfw/StringPool.cpp
parentd00d9c2bde2d2926d1fd075871e6d396bfe32b77 (diff)
Check if an app requests POST_NOTIFICATIONS before setting state
Ensure that we only set POST_NOTIFICATIONS if an app requests it. PermMs throws an Exception when attempting to grant/revoke a permission an app doesn't request. Fixes: 219798259 Test: atest PermissionHelperTest Change-Id: I51a8339ff2c943832c831ac968613035ea0ca2e9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions