morgan pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits: f5220902 by clairehurst at 2024-08-26T19:39:08+00:00 fixup! [android] Add Tor integration and UI
- - - - -
1 changed file:
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorControllerGV.kt
Changes:
===================================== mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorControllerGV.kt ===================================== @@ -166,7 +166,7 @@ class TorControllerGV( } set(value) { getTorSettings()?.let { - Log.i(TAG, "setUserProvidedBridges: '$value'"); + Log.i(TAG, "setUserProvidedBridges: '$value'") // Hack: we don't have validation so lets do something quick and dirty (each line has a length) val userProvidedLines: Array<String> = value?.split("\n")?.filter { it.length > 4 }?.toTypedArray() ?: arrayOf<String>() it.bridgesSource = BridgeSource.UserProvided @@ -353,7 +353,6 @@ class TorControllerGV( // TorEventsBootstrapStateChangeListener override fun onBootstrapError(code: String?, message: String?, phase: String?, reason: String?) { lastKnownError = TorError(code ?: "", message ?: "", phase ?: "", reason ?: "") - onBootstrapStateChange(TorConnectState.Error.state) }
// TorEventsBootstrapStateChangeListener
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f5220902...