Pavel Grafov
16d588c11a
Prevent disconnecting admin-configured VPN
...
First, if the VPN is configured by an admin, the preference is
disabled and tapping on it will results in a policy disclouser
dialog.
In addition restriction checks in the dialog also check if the
VPN is admin-configured.
Bug: 179975048
Test: Manual, setting VPN in profile and primary user and via DPM API.
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.vpn2
Change-Id: Id59d2ac2782e83601bc3093d3a092faea36ff5d9
2021-03-31 15:20:11 +00:00
..
2020-06-18 20:03:25 +08:00
2020-06-20 04:32:24 +00:00
2021-03-07 00:40:15 +00:00
2020-05-25 18:23:53 +08:00
2020-11-11 20:45:53 +00:00
2020-07-16 16:33:16 -07:00
2021-01-07 06:03:10 +00:00
2020-05-25 16:23:42 +08:00
2020-12-15 05:01:42 +00:00
2021-02-21 09:25:11 -08:00
2020-10-12 04:32:12 +00:00
2021-03-17 15:22:40 +00:00
2021-03-29 11:18:57 +01:00
2021-03-18 22:25:05 +08:00
2021-03-22 09:36:16 +00:00
2020-11-24 05:34:49 +00:00
2020-04-28 17:09:01 +08:00
2021-02-18 23:51:11 +09:00
2021-02-24 06:59:58 +00:00
2020-06-20 20:02:35 +08:00
2021-03-18 22:25:05 +08:00
2021-03-10 10:37:51 -08:00
2020-04-30 17:19:52 +08:00
2020-12-21 16:29:05 +08:00
2021-03-25 21:36:39 +00:00
2021-02-03 17:01:33 -08:00
2021-02-18 23:50:59 +09:00
2020-12-10 05:53:28 +00:00
2020-08-28 23:35:54 -07:00
2020-11-04 08:14:27 +00:00
2021-03-08 14:26:28 +00:00
2021-03-22 06:20:19 +00:00
2020-09-22 02:58:01 +00:00
2020-12-08 06:28:50 +00:00
2021-03-17 15:47:48 -07:00
2020-04-30 17:19:52 +08:00
2021-03-11 10:24:24 +00:00
2021-03-23 04:09:47 +00:00
2021-03-31 15:20:11 +00:00
2021-03-16 23:54:35 +00:00
2021-03-24 05:25:04 +00:00
2021-02-24 11:45:02 +08:00
2020-04-28 15:57:40 -07:00
2020-11-19 15:04:12 -08:00
2020-08-15 05:31:49 +00:00
2021-03-17 12:47:22 +00:00
2021-02-21 09:25:11 -08:00
2020-12-29 01:19:58 +00:00
2021-03-17 15:22:40 +00:00
2020-05-29 12:55:18 +00:00
2021-03-17 13:32:32 +08:00
2020-06-22 09:59:28 +08:00
2021-02-24 11:45:02 +08:00
2021-03-22 13:35:53 -07:00
2021-03-18 22:25:05 +08:00