[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] bug fix



commit 238a695c1bfe4280d918f3d61105a6b02f2d7d6c
Author: arrase <arrase@xxxxxxxxx>
Date:   Sun Nov 27 23:01:58 2016 +0100

    bug fix
---
 .../main/java/org/torproject/android/OrbotMainActivity.java   | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/app/src/main/java/org/torproject/android/OrbotMainActivity.java b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
index d227c62..59dba4b 100644
--- a/app/src/main/java/org/torproject/android/OrbotMainActivity.java
+++ b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
@@ -657,13 +657,12 @@ public class OrbotMainActivity extends AppCompatActivity
                 }
             }.start();
 
+        } else {
+            Intent nResult = new Intent();
+            nResult.putExtra("hs_host", onionHostname);
+            setResult(RESULT_OK, nResult);
+            finish();
         }
-
-        Intent nResult = new Intent();
-        nResult.putExtra("hs_host", onionHostname);
-        setResult(RESULT_OK, nResult);
-        finish();
-
     }
 
     private synchronized void handleIntents() {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits