commit 976b03402ec18879e211be5c962b031bf16f5ccf
Author: n8fr8 <nathan(a)guardianproject.info>
Date: Thu May 20 10:51:02 2021 -0400
update app-mini to work with latest OrbotService
---
app-mini/src/main/java/org/torproject/android/mini/OrbotMiniApp.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-mini/src/main/java/org/torproject/android/mini/OrbotMiniApp.java b/app-mini/src/main/java/org/torproject/android/mini/OrbotMiniApp.java
index f0612cc5..4682617b 100644
--- a/app-mini/src/main/java/org/torproject/android/mini/OrbotMiniApp.java
+++ b/app-mini/src/main/java/org/torproject/android/mini/OrbotMiniApp.java
@@ -21,6 +21,9 @@ public class OrbotMiniApp extends Application implements OrbotConstants {
if (!Prefs.getDefaultLocale().equals(Locale.getDefault().getLanguage())) {
Languages.setLanguage(this, Prefs.getDefaultLocale(), true);
}
+
+ //no hosting of onion services!
+ Prefs.putHostOnionServicesEnabled(false);
}
@Override