summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chiachangwang <chiachangwang@google.com> 2022-05-25 11:22:33 +0000
committer lucaslin <lucaslin@google.com> 2022-08-02 18:17:55 +0800
commit2057b41c90b8d584df36e514041e700d4460f8f0 (patch)
treec7bd4f2f0281c5b382650abee09961004d93fcc2 /libs/androidfw/StringPool.cpp
parent3c499c5c0af308456a85098c8433bf5eff29fa5a (diff)
Update VPN app exclusion list when packages are added or removed
This commit passes through package added/removed broadcasts, triggering the VPN to update the allowed/excluded UIDs. This is required because the VPN app exclusion list is stored in the keystore. The UID range for the VPN network agent should be updated when the package status is updated. As an example, consider the following sequence: - Package A is installed, and in the exclusion list. - A is uninstalled - VPN starts, A is not installed, so no UID A to exclude - A is re-installed after VPN is started - The VPN would include the app A, potentially breaking it. Bug: 231373589 Test: atest FrameworksNetTests Change-Id: I7ee32103ffdfc97e4c95007f35671cefeb9b22d7 (cherry picked from commit 5fda65f94ce902021070ffc24159fb8f201883b3) Merged-In: I7ee32103ffdfc97e4c95007f35671cefeb9b22d7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions