summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2019-11-06 00:20:15 -0800
committerBenedict Wong <benedictwong@google.com>2020-02-04 21:05:36 +0000
commit526e7dd0b67a5e0ac22ec6966686a6116dcecb0a (patch)
tree697e5a2c7d27ae38885f1657a157084e5f1316d3 /tools/aapt2/java/JavaClassGenerator.cpp
parentdc63bcc1357ddf784a6531ed0eb6b4910182d2a0 (diff)
Add separate user consent for Platform VPNs
This change adds a new VPN user consent flow (using the same text) for granting the lesser OP_ACTIVATE_PLATFORM_VPN. A new PlatformVpnConfirmDialog is created as a subclass to preserve all logic, but ensure the right appop is granted for the relevant dialog. Intent extras were considered, but are inherently unsafe, since the caller may add any extras that they would want. Bug: 144246835 Test: FrameworksNetTests passing Change-Id: Ia6f36207d43c3748f938430c2780dcf29e5623f3 Merged-In: Ia6f36207d43c3748f938430c2780dcf29e5623f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions