summaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-05-25 11:49:49 +0200
committerArne Schwabe <arne@rfc2549.org>2013-05-25 11:49:49 +0200
commitfa4b5e8c373ff19d8cc96f5bb7f636598ff279cd (patch)
tree359f5e2869990bc059c02efadb89d0997f0d3a5b /res/xml
parent2fe7a0433ca5b7fc99a074639376714393091682 (diff)
Implement Option to pause VPN when screen is off (closes issue #162)
--HG-- rename : src/de/blinkt/openvpn/core/NetworkStateReceiver.java => src/de/blinkt/openvpn/core/DeviceStateReceiver.java
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/general_settings.xml17
1 files changed, 8 insertions, 9 deletions
diff --git a/res/xml/general_settings.xml b/res/xml/general_settings.xml
index 6dbf58bf..9aa62956 100644
--- a/res/xml/general_settings.xml
+++ b/res/xml/general_settings.xml
@@ -11,13 +11,6 @@
android:key="showlogwindow"
android:summary="@string/show_log_summary"
android:title="@string/show_log_window" />
- <!--
- <CheckBoxPreference
- android:defaultValue="false"
- android:key="statusafterconnect"
- android:summary="@string/keppstatus_summary"
- android:title="@string/keepstatus" />
- -->
<CheckBoxPreference
android:defaultValue="true"
android:key="usesystemproxy"
@@ -28,11 +21,17 @@
android:key="restartvpnonboot"
android:summary="@string/onbootrestartsummary"
android:title="@string/onbootrestart" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="screenoff"
+ android:summary="@string/screenoff_summary"
+ android:title="@string/screenoff_title" />
<Preference
android:key="clearapi"
- android:title="Clear allowed external apps"
- android:persistent="false" />
+ android:persistent="false"
+ android:title="Clear allowed external apps" />
<PreferenceCategory android:title="Device specifics Hacks" >
<CheckBoxPreference