summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2024-02-21 01:56:22 +0000
committer Yi-an Chen <theianchen@google.com> 2024-03-11 18:59:52 +0000
commit528a87e90ff9354581d54fd37fbe9f95cccbcdb1 (patch)
treeff346b98e3ddcba9ac48ef21c085991dd4474150 /libs/androidfw/StringPool.cpp
parentebab9abbd8213729165cb7c94a0f678ec9a9db5a (diff)
Fix error handling for non-dynamic permissions
We only allow removing dynamic permissions. When removePermission() is called for a non-dynamic permission, in addition to logging it, we should also return early to avoid the removePermission() call. Test: manual Bug: 321555066 Fixes: 321711213 Change-Id: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions