[tor-commits] [orbot/master] Limit snowflake by default
n8fr8 at torproject.org
n8fr8 at torproject.org
Wed Dec 22 21:55:08 UTC 2021
commit 3498903f0e5abdccfd22e4a0ace58a2bd1052714
Author: Tad <tad at spotco.us>
Date: Tue Jun 29 15:06:28 2021 -0400
Limit snowflake by default
No need to kill batteries and data plans
---
app/src/main/res/xml/preferences.xml | 2 +-
.../src/main/java/org/torproject/android/service/util/Prefs.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index ce5b1bbc..28e06052 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -298,7 +298,7 @@
android:title="@string/be_a_snowflake_title"
android:summary="@string/be_a_snowflake_desc" />
<CheckBoxPreference
- android:defaultValue="false"
+ android:defaultValue="true"
android:key="pref_be_a_snowflake_limit"
android:title="@string/be_a_snowflake_title_limit"
android:summary="@string/be_a_snowflake_desc_limit" />
diff --git a/orbotservice/src/main/java/org/torproject/android/service/util/Prefs.java b/orbotservice/src/main/java/org/torproject/android/service/util/Prefs.java
index 5fa167c2..eaec24e5 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/util/Prefs.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/util/Prefs.java
@@ -83,7 +83,7 @@ public class Prefs {
}
public static boolean limitSnowflakeProxying () {
- return prefs.getBoolean(PREF_BE_A_SNOWFLAKE_LIMIT,false);
+ return prefs.getBoolean(PREF_BE_A_SNOWFLAKE_LIMIT,true);
}
public static void setDefaultLocale(String value) {
More information about the tor-commits
mailing list