summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2024-02-20 04:34:57 +0000
committer Yi-an Chen <theianchen@google.com> 2024-03-11 19:00:11 +0000
commit2b5d63b64b2b8208ccc4f62eac3d8962f981dbf8 (patch)
tree16beec0f4434b38c676d79577b54088e25220580 /libs/androidfw/StringPool.cpp
parent110f1d8b2669f6a7064b876d890bde0cd8914c77 (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: I7336f2fc78804f26e4b2a329870ecdea776595d8 Merged-In: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions