commit 238a695c1bfe4280d918f3d61105a6b02f2d7d6c Author: arrase arrase@gmail.com 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() {