diff options
| author | 2024-02-21 01:56:22 +0000 | |
|---|---|---|
| committer | 2024-03-11 18:59:52 +0000 | |
| commit | 528a87e90ff9354581d54fd37fbe9f95cccbcdb1 (patch) | |
| tree | ff346b98e3ddcba9ac48ef21c085991dd4474150 /libs/androidfw/ZipFileRO.cpp | |
| parent | ebab9abbd8213729165cb7c94a0f678ec9a9db5a (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/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions