diff options
author | Rubin Xu <rubinxu@google.com> | 2020-02-18 17:49:06 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2020-02-19 10:11:23 +0000 |
commit | 2108f19b49b2050bc26f13081eccf8174ab5a748 (patch) | |
tree | 0a5001f048decec41bf8f6f4e2b0dc139a2ee98a /libs/hwui/jni/CreateJavaOutputStreamAdaptor.cpp | |
parent | 003dedcc7dfc8cf9ed6dc60df8e95654827f9930 (diff) |
Disable Settings toggle if admin has set always-on VPN
If the admin has turned on always-on VPN, do not allow the user
to modify it. In order to distinguish between a user-initiated
always-on request and an admin-initiated one, DevicePolicyManager
needs to track what the admin has set, and provide getter to be
consumed by Settings code.
Bug: 137938969
Test: manually set always-on VPN and check Settings is disabled
Change-Id: Ief7454a2b66c487c23d06c2b4486a7107f8a385a
Diffstat (limited to 'libs/hwui/jni/CreateJavaOutputStreamAdaptor.cpp')
0 files changed, 0 insertions, 0 deletions