diff options
| author | 2024-04-11 14:32:31 -0700 | |
|---|---|---|
| committer | 2024-04-12 00:47:24 +0000 | |
| commit | 0281cea6dc27f92c9a535e150fd0307b1aeaac3a (patch) | |
| tree | 1b116201908ef0f5e1f85585a602a8b5645298cf /libs/hwui/RootRenderNode.cpp | |
| parent | 7b3ff2c8df31056c0c0dc4e2f1a0f079d664a3de (diff) | |
Short circuit system and root uids in appop checks
When switching to using the permission state for the appop value we'll
have the problem that system and root don't have permission state in the
unified permission system so the result will be a rejection. We can
simply avoid making the check for UIDs that are always supposed to
permit.
Test: Boot
Bug: 266164193
Fixes: 333938416
Change-Id: I39d5125cc7b59970b2c7cc8bfbc71f89bdee5771
Diffstat (limited to 'libs/hwui/RootRenderNode.cpp')
0 files changed, 0 insertions, 0 deletions