Skip to content
Snippets Groups Projects
Commit 5effd0cc authored by clairehurst's avatar clairehurst Committed by Beatriz Rizental
Browse files

fixup! [android] Implement Android-native Connection Assist UI

Bug 43576: Connection Assist on Android Fast Follows (Bug 41188)
Remove unnecessary locale change listener
parent 53bf8813
Branches
Tags
1 merge request!1507Rebase Tor Browser onto 136.0a1
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment