[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] return val of pluggableTransportsInstall always the same + never used
commit 2637e1f05b26a3c23d59e1a4e467433e449d4698
Author: b <dsnake@xxxxxxxxxxxxxx>
Date: Fri Dec 10 00:57:44 2021 -0500
return val of pluggableTransportsInstall always the same + never used
---
app/src/main/java/org/torproject/android/OrbotMainActivity.java | 2 +-
.../src/main/java/org/torproject/android/service/OrbotService.java | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/app/src/main/java/org/torproject/android/OrbotMainActivity.java b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
index 3853f957..e0079b94 100644
--- a/app/src/main/java/org/torproject/android/OrbotMainActivity.java
+++ b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
@@ -804,7 +804,7 @@ public class OrbotMainActivity extends AppCompatActivity implements OrbotConstan
}
-
+
if (autoStartFromIntent) {
autoStartFromIntent = false;
Intent resultIntent = lastStatusIntent;
diff --git a/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java b/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java
index 2f189a08..4b9a12e6 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java
@@ -502,7 +502,7 @@ public class OrbotService extends VpnService implements TorServiceConstants, Orb
return mCurrentStatus;
}
- private boolean pluggableTransportInstall() {
+ private void pluggableTransportInstall() {
File fileCacheDir = new File(getCacheDir(), "pt");
if (!fileCacheDir.exists())
@@ -511,8 +511,6 @@ public class OrbotService extends VpnService implements TorServiceConstants, Orb
IPtProxy.setStateLocation(fileCacheDir.getAbsolutePath());
String fileTestState = IPtProxy.getStateLocation();
debug("IPtProxy state: " + fileTestState);
-
- return false;
}
private File updateTorrcCustomFile() throws IOException, TimeoutException {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits