summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author lucaslin <lucaslin@google.com> 2021-09-09 14:46:06 +0800
committer lucaslin <lucaslin@google.com> 2021-12-22 15:01:47 +0800
commit5d0e1e8bdf38c258197a97849b919beba59fe3c4 (patch)
treec334cd044512234e3665d790e32a031d9928f56c /libs/androidfw/StringPool.cpp
parentdfabfc61066c4062ab79d90196cdf8950325732f (diff)
Prevent an app to check if the specified VPN app is set VPN always-on
An app can check if the specified VPN app is set VPN always-on or not by calling VpnManagerService#prepareVpn(). If it sets oldPackage to null and newPackage to a specified VPN app which is set always-on, then prepareVpn() will return true. So the app could know the specified VPN app is installed and it's set always-on. Bug: 191276656 Test: atest FrameworksNetTests CtsNetTestCases \ CtsHostsideNetworkTests:HostsideVpnTests Change-Id: I0013039f58a6f7c5c73b9acc877d70a0126d0ca7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions