[tor-commits] [orbot/master] add new transproxy flush pref and strings

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Aug 21 13:50:51 UTC 2014


commit 186e74b5dc5e97b584ee0da863eee4e95ca7b0ab
Author: Nathan Freitas <nathan at freitas.net>
Date:   Thu Aug 21 09:47:51 2014 -0400

    add new transproxy flush pref and strings
---
 res/values/strings.xml  |    3 +++
 res/xml/preferences.xml |    5 +++++
 2 files changed, 8 insertions(+)

diff --git a/res/values/strings.xml b/res/values/strings.xml
index fa4a731..8e1df63 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -291,4 +291,7 @@
   <string name="pref_transproxy_refresh_title">Transproxy Auto-Refresh</string>
   <string name="pref_transproxy_refresh_summary">Re-apply Transproxy rules when the network state changes</string>
   
+  <string name="pref_transproxy_flush_title">Transproxy FORCE REMOVE</string>
+  <string name="pref_transproxy_flush_summary">Tap here to flush all transproxy network rules NOW</string>
+  
 </resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 95d8f84..15f1c32 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -263,6 +263,11 @@ android:summary="@string/pref_transproxy_refresh_summary"
 android:enabled="true" 
 android:title="@string/pref_transproxy_refresh_title"/>
 
+<Preference
+android:key="pref_transproxy_flush"
+android:summary="@string/pref_transproxy_flush_summary"
+android:enabled="true" 
+android:title="@string/pref_transproxy_flush_title"/>
 
 <!-- 
 <CheckBoxPreference





More information about the tor-commits mailing list