[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] fixed broken newnym btn on main activity
commit c7bb4ec913a01271433c4e6455da4ed0ab103632
Author: bim <dsnake@xxxxxxxxxxxxxx>
Date: Wed May 12 22:20:16 2021 -0400
fixed broken newnym btn on main activity
---
app/src/main/java/org/torproject/android/OrbotMainActivity.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/src/main/java/org/torproject/android/OrbotMainActivity.java b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
index 0bb5be44..4f6e6799 100644
--- a/app/src/main/java/org/torproject/android/OrbotMainActivity.java
+++ b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
@@ -113,7 +113,7 @@ public class OrbotMainActivity extends AppCompatActivity implements OrbotConstan
private static final float ROTATE_TO = 360.0f * 4f;// 3.141592654f * 32.0f;
private static final String[] COUNTRY_CODES = {"DE", "AT", "SE", "CH", "IS", "CA", "US", "ES", "FR", "BG", "PL", "AU", "BR", "CZ", "DK", "FI", "GB", "HU", "NL", "JP", "RO", "RU", "SG", "SK"};
private static final String URL_TOR_CHECK = "https://check.torproject.org";
- ;
+
// this is what takes messages or values from the callback threads or other non-mainUI threads
// and passes them back into the main UI thread for display to the user
private final Handler mStatusUpdateHandler = new MainActivityStatusUpdateHandler(this);
@@ -1064,6 +1064,7 @@ public class OrbotMainActivity extends AppCompatActivity implements OrbotConstan
rotation.setRepeatCount(0);
imgStatus.startAnimation(rotation);
lblStatus.setText(getString(R.string.newnym));
+ sendIntentToService(TorControlCommands.SIGNAL_NEWNYM);
break;
case STATUS_STARTING:
return; // tor is starting up, a new identity isn't needed
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits