[tor-commits] [orbot/master] remove incorrect torFile assignment

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Jul 5 12:40:01 UTC 2019


commit eda464bb3317311dd2680488f66beec769efb171
Author: n8fr8 <nathan at guardianproject.info>
Date:   Fri May 31 10:47:45 2019 -0400

    remove incorrect torFile assignment
---
 .../src/main/java/org/torproject/android/service/TorService.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orbotservice/src/main/java/org/torproject/android/service/TorService.java b/orbotservice/src/main/java/org/torproject/android/service/TorService.java
index 66889b5f..6f9f6c12 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/TorService.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/TorService.java
@@ -595,7 +595,7 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
         logNotice("upgrading binaries to latest version: " + BINARY_TOR_VERSION);
 
         fileTor = installer.installResources();
-        fileTor = new File(appBinHome,"tor");
+
         if (fileTor != null && fileTor.canExecute()) {
             prefs.edit().putString(PREF_BINARY_TOR_VERSION_INSTALLED, BINARY_TOR_VERSION).apply();
 





More information about the tor-commits mailing list