[tbb-commits] [tor-android-service/master] Bug 30380 - Support DormantCanceledByStartup

gk at torproject.org gk at torproject.org
Thu Sep 26 15:00:08 UTC 2019


commit 5bc203890cd66a10110f94b3dcd921fc5a6c90b9
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date:   Thu Sep 26 00:54:12 2019 +0000

    Bug 30380 - Support DormantCanceledByStartup
---
 .../main/java/org/torproject/android/service/AndroidTorSettings.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/service/src/main/java/org/torproject/android/service/AndroidTorSettings.java b/service/src/main/java/org/torproject/android/service/AndroidTorSettings.java
index a875857..4759376 100644
--- a/service/src/main/java/org/torproject/android/service/AndroidTorSettings.java
+++ b/service/src/main/java/org/torproject/android/service/AndroidTorSettings.java
@@ -218,4 +218,9 @@ public class AndroidTorSettings implements TorSettings {
     public boolean useSocks5() {
         return Prefs.useVpn() && Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP;
     }
+
+    @Override
+    public boolean hasDormantCanceledByStartup() {
+        return true;
+    }
 }





More information about the tbb-commits mailing list