summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Michael Groover <mpgroover@google.com> 2024-11-17 23:08:49 -0600
committer Michael Groover <mpgroover@google.com> 2024-11-19 17:22:15 +0000
commitf0acac4144973daa2c6733bb042abccf36626ce1 (patch)
treedc127068fa049ea61100a7d222eeb774571ad996 /libs/input/PointerController.cpp
parent95ec53eef39057b69255a261a2d6199b71cd169a (diff)
Add WRITE_ALLOWLISTED_DEVICE_CONFIG perm when modifying DeviceConfig
Android 16 introduces restrictions on the DeviceConfig flags that can be modified by the shell user by removing the WRITE_DEVICE_CONFIG permission from this user and replacing it with the WRITE_ALLOWLISTED_DEVICE_CONFIG permission; with this permission, only those flags that have been allowlisted can be modified. This commit adds the ALLOWLISTED permission to any test that explicitly adopts the shell permission identity with the WRITE_DEVICE_CONFIG permission; the WRITE_DEVICE_CONFIG permission is not removed to ensure tests do not break when run on previous platform releases without the ALLOWLISTED permission. Bug: 364083026 Flag: TEST_ONLY Test: Manually ran all modified tests Change-Id: Ib832d86a8100bb2118372d08c4320394f69dc5b8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions