summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-09-09 14:46:06 +0800
committerLucas Lin <lucaslin@google.com>2021-12-22 07:03:51 +0000
commit46eb3bead103bce750b252e3db4e17c9ccd12bce (patch)
tree1937cdff25b7b6570e66851b2987fcff0bed835f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb4bd7095e92242e3cd7c79bde563387501a146ac (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 Merged-In: I0013039f58a6f7c5c73b9acc877d70a0126d0ca7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions