Dan Ballard pushed to branch tor-browser-128.9.0esr-14.5-1 at The Tor Project / 
Applications / Tor Browser


Commits:
7dd436ed by clairehurst at 2025-04-10T15:10:23-06:00
fixup! [android] Implement Android-native Connection Assist UI

Bug 43576: Connection Assist on Android Fast Follows (Bug 41188)
Remove unnecessary locale change listener

- - - - -


1 changed file:

- 
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorConnectionAssistFragment.kt


Changes:

=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorConnectionAssistFragment.kt
=====================================
@@ -4,8 +4,6 @@
 
 package org.mozilla.fenix.tor
 
-import android.content.BroadcastReceiver
-import android.content.Context
 import android.content.Intent
 import android.graphics.Color
 import android.os.Build
@@ -58,15 +56,6 @@ class TorConnectionAssistFragment : Fragment(), 
UserInteractionHandler {
             inflater, container, false,
         )
 
-        object : BroadcastReceiver() {
-            override fun onReceive(context: Context, intent: Intent) {
-                if (intent.action === Intent.ACTION_LOCALE_CHANGED) {
-                    Log.v("LocaleReceiver", "received ACTION_LOCALE_CHANGED")
-                    torConnectionAssistViewModel.fetchRegionNames()
-                }
-            }
-        }
-
         viewLifecycleOwner.lifecycleScope.launch {
             repeatOnLifecycle(Lifecycle.State.STARTED) {
                 torConnectionAssistViewModel.collectTorConnectStage()



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7dd436ed2fa03f2919f974a06df4e60622d6951c

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7dd436ed2fa03f2919f974a06df4e60622d6951c
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]

Reply via email to