summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author lucaslin <lucaslin@google.com> 2022-07-01 11:11:10 +0800
committer Lucas Lin <lucaslin@google.com> 2022-07-20 09:11:07 +0000
commitdeda02392219705dbd610ca4db5479f355787c4e (patch)
treee195d51492fb710d93f1cfc077c48bb415ad59ec /libs/androidfw/StringPool.cpp
parentedc13cc24107a63e0307d03ed0662c3454e5b0a2 (diff)
Grant the ACTIVATE_PLATFORM_VPN appop if VPN app has CONTROL_VPN
This makes the VpnManager APIs consistent with VpnService, ensuring that apps relying on CONTROL_VPN and a separate consent dialog (per CDD) can work properly using the VpnManager. Without this patch, there is an inverted incentive to use the VpnService. As a workaround, apps using this with CONTROL_VPN already can/do work around this by calling VpnService.prepareAndAuthorize(). Bug: 232051081 Test: atest FrameworksNetTests:VpnTest Change-Id: I0e0566bb8fed2f9330889e031175c33d499fa855
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions