commit | fc1ce57b13a9489f9eca0dbe36fcedb2939157ac | [log] [tgz] |
---|---|---|
author | Charles He <qiurui@google.com> | Thu Jun 08 17:15:32 2017 +0100 |
committer | Charles He <qiurui@google.com> | Tue Jun 27 14:14:31 2017 +0100 |
tree | 564da67b70f85d2923f9613dc67cc10a1c2c2a40 | |
parent | 446f2d2896825f3e28b595979bed35b49509e715 [diff] |
Disable always-on VPN options if an app has opted out. The user can turn on / off always-on for individual VPN apps in Settings > Network > VPN. Now that we're providing an opt-out of the always-on feature for VPN apps, we should disabled the toggles if the VPN app has an explicit opt-out. Related unit tests are also removed as the check is now performed in the frameworks, not in Settings. Bug: 36650087 Test: CTS Verifier Change-Id: I486fec14a1f8b86e7120dbdbfed3885801ab4dd7