diff options
| author | 2024-02-20 04:34:57 +0000 | |
|---|---|---|
| committer | 2024-03-11 19:00:11 +0000 | |
| commit | 2b5d63b64b2b8208ccc4f62eac3d8962f981dbf8 (patch) | |
| tree | 16beec0f4434b38c676d79577b54088e25220580 /libs/androidfw/StringPool.cpp | |
| parent | 110f1d8b2669f6a7064b876d890bde0cd8914c77 (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