summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2024-02-21 01:56:22 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-05-09 18:26:44 +0000
commitf3cf6debb456109ce8c8e18e59835e45df38a538 (patch)
tree1b576e6f6c26115bab4a9c67fdabd6bfab6f63e1 /libs/androidfw/ZipFileRO.cpp
parent34a3a9c7df9b04d47924a271ec51a2158685ccc9 (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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:528a87e90ff9354581d54fd37fbe9f95cccbcdb1) Merged-In: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5 Change-Id: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5 24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions