summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Severson <evanseverson@google.com> 2024-03-29 21:10:10 -0700
committer Evan Severson <evanseverson@google.com> 2024-03-29 21:10:10 -0700
commitfbeceb0a27d579cf6488004387b91e24cf840265 (patch)
tree42f5311cb72057132f72eb980cd9e39be85aef0c /libs/androidfw/StringPool.cpp
parent82a77ccbce61aaaad086798c861d7f53dc29b60c (diff)
Add API for instrumentations from root to override perms
Similar to how adoptShellPermissionIdentity is used by an instrumentation started from shell to assume all of the permissions the shell UID holds, this provides a new API to grant any possible permission to any UID by an instrumentation that has been started from root. Test: WIP test case for this new API and a random selection of other suites that use adoptshellPermissionIdentity. Fixes: 322381691 Change-Id: Icc7732f72453d4c547428ed95a812f750bb6e9e0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions