summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Evan Severson <evanseverson@google.com> 2024-08-08 17:20:47 -0700
committer Evan Severson <evanseverson@google.com> 2024-10-09 23:18:57 -0700
commit356db3272814f8c7dd12ca2ddf27e812892e330d (patch)
treebe724d49a98cd0b72bb34fd8aec57475023281dc /libs/androidfw/ZipFileRO.cpp
parent562064bebdf17706d8cd5a34908d295ffe33deb4 (diff)
Delay appop revocation when only capability is lost
On proc state changes, if the proc state doesn't change the uid state over the restriction threshold and if no new capabilities are added then delay the uid state commit. This fixes cases such as going from UID_STATE_TOP -> UID_STATE_FOREGROUND, we shouldn't be revoking appop access right away. Flag: android.permission.flags.delay_uid_state_changes_from_capability_updates Test: AppOpsUidStateTrackerTest Bug: 347891382 Change-Id: Ia23c0f5b79fa194539151ffbd04a36891e06361b
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions