ma1 pushed to branch tor-browser-140.3.0esr-15.0-1 at The Tor Project /
Applications / Tor Browser
Commits:
d69ec0b9 by hackademix at 2025-09-11T21:56:35+02:00
fixup! TB 41878: [android] Add standalone Tor Bootstrap
TB 44172: Fix crash in TorAndroidIntegration.handleMessage()
- - - - -
1 changed file:
-
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorAndroidIntegration.java
Changes:
=====================================
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorAndroidIntegration.java
=====================================
@@ -155,20 +155,20 @@ public class TorAndroidIntegration implements
BundleEventListener {
} else if (EVENT_CONNECT_STAGE_CHANGED.equals(event)) {
TorConnectStage stage = new TorConnectStage(message.getBundle("stage"));
_lastKnownStage.setValue(stage);
- for (BootstrapStateChangeListener listener : mBootstrapStateListeners) {
+ for (BootstrapStateChangeListener listener : new
HashSet<BootstrapStateChangeListener>(mBootstrapStateListeners)) {
listener.onBootstrapStageChange(stage);
}
} else if (EVENT_BOOTSTRAP_PROGRESS.equals(event)) {
double progress = message.getDouble("progress");
boolean hasWarnings = message.getBoolean("hasWarnings");
- for (BootstrapStateChangeListener listener : mBootstrapStateListeners) {
+ for (BootstrapStateChangeListener listener : new
HashSet<BootstrapStateChangeListener>(mBootstrapStateListeners)) {
listener.onBootstrapProgress(progress, hasWarnings);
}
} else if (EVENT_TOR_LOGS.equals(event)) {
String msg = message.getString("message");
String type = message.getString("logType");
String timestamp = message.getString("timestamp");
- for (TorLogListener listener : mLogListeners) {
+ for (TorLogListener listener : new
HashSet<TorLogListener>(mLogListeners)) {
listener.onLog(type, msg, timestamp);
}
}
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d69ec0b9578b405ed412a7aec504e4a324990781
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d69ec0b9578b405ed412a7aec504e4a324990781
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]