summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author chiachangwang <chiachangwang@google.com> 2022-09-20 06:57:33 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2022-09-21 15:32:04 +0000
commitcbaea7da267fc42f92d5e532e5b7f05c4f17e62e (patch)
treee0cd17b0f3f8f9426104fe958af0ec22fc1a1930 /libs/androidfw/ResourceTimer.cpp
parentc5637910b891ea1e6146b2b23179f22015a5933f (diff)
Remove the restricted user enforcement in getAppExclusionList
This change allows retrieval of the app exclusion list for callers with the SYSTEM_SETTINGS and INTERACT_ACROSS_USERS_FULL permissions, as well as allowing UID updates internally when packages are added/removed. In both cases, the retrieval of this information does not change the configuration of the system in any incorrect way, and not allowing these two use cases results in system components (Package change notifications and settings app) calls failing. Additionally, in restricted users, neither provisioning a VPN profile nor adding app bypass rules are supported, so this codepath is effectively a no-op at the moment. In the long term, if VpnManager VPNs are supported from a DevicePolicyManager standpoint, this correctly updates the restriction list when apps are added/removed. Bug: 247344442 Test: atest FrameworksNetTests Test: atest CtsMediaHostTestCases Change-Id: I9e820f89a274ea9e26e95ce0aaa6807175760186 (cherry picked from commit e5997ffb0da8a195818ef41f7c16f0d0f3716deb) Merged-In: I9e820f89a274ea9e26e95ce0aaa6807175760186
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions