History log of /packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f96c4c84813c234bfad79a6fb0cd190feedbbba 16-Feb-2017 Robin Lee <rgl@google.com> Update string: lockdown confirmation dialog title

The most common string shown previously was:
"Set always-on VPN?"

It's now a different string:
"Only allow connections through VPN?"

This makes more sense because the only way to get to this dialog in
stock Settings is by first enabling a specific VPN and afterwards
trying to set the same VPN to lockdown mode.

In this case the prompt should specifically refer to lockdown, not
having a VPN connection in general (because the user clearly already
has one).

Test: m Settings -j20, install a VPN, connect to it, open Settings > Network > Vpn > {VPN name} and select 'only allow connections through VPN'. Verify the title is now the one referred to in the commit message.
Fix: 34491069
Change-Id: Ic74a8b91eb8ae64fbe15723c173281f4ede52b06
/packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java
e7347dd8c02b67cb422765b947b398aa4dea9eb0 16-Dec-2016 Robin Lee <rgl@google.com> Implement always-on VPN separate lockdown setting

Allows Settings to control whether always-on VPN is required for the
connection to complete, or if it is offered on a best-efforts basis.

Change-Id: I5eb273a99e7559adc66b05e647c9130a819f99d4
Test: runtest -x tests/app/src/com/android/settings/vpn2/VpnTests.java
Fix: 32420810
/packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java
b6f787c4df8e111bdee75062c6a38f606c876858 05-Jul-2016 Robin Lee <rgl@google.com> Show a disclaimer about enabling vpn lockdown

Lockdown is now the default option, not best-effort mode. It's easier
to shoot oneself in the foot now so we'll show a warning to explain that
before switching it on.

Bug: 29052115
Bug: 29076208
Test: com.android.settings.vpn2.AppSettingsTest
Change-Id: Ia6845e6a7d57baa5476b8a021fb1255fd74aabea
/packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java