summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Michael Groover <mpgroover@google.com> 2024-11-13 16:56:52 -0600
committer Michael Groover <mpgroover@google.com> 2024-11-13 23:07:26 +0000
commit29a9ab42f62210f402aee1dba666a12413f04165 (patch)
tree4a6e5c73aebc4e015927b719b55aa03594899cca /libs/androidfw/StringPool.cpp
parent255746a3c5fd28cdd8106954a38291be460d9949 (diff)
Allow AMS fgs notification rate limit with ALLOWLIST permission
Android 16 limits the shell user to only modify the DeviceConfig flags that have been allowlisted; to support this, the WRITE_DEVICE_CONFIG permission will be removed from the shell user. Some CTS tests adopt the shell permission identity to invoke the AMS service method enableFgsNotificationRateLimit which is currently guarded with the WRITE_DEVICE_CONFIG permission. To support these tests, this commit updates this method to also allow the action if the caller has the WRITE_ALLOWLISTED_DEVICE_CONFIG permission. Bug: 364083026 Flag: android.security.protect_device_config_flags Test: atest ServiceTest Change-Id: I7ac4d3d92a73bc60546bbfcb9c9d5469004f76ce
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions