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

Commits:

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorConnectionAssistFragment.kt
    ... ... @@ -4,8 +4,6 @@
    4 4
     
    
    5 5
     package org.mozilla.fenix.tor
    
    6 6
     
    
    7
    -import android.content.BroadcastReceiver
    
    8
    -import android.content.Context
    
    9 7
     import android.content.Intent
    
    10 8
     import android.graphics.Color
    
    11 9
     import android.os.Build
    
    ... ... @@ -58,15 +56,6 @@ class TorConnectionAssistFragment : Fragment(), UserInteractionHandler {
    58 56
                 inflater, container, false,
    
    59 57
             )
    
    60 58
     
    
    61
    -        object : BroadcastReceiver() {
    
    62
    -            override fun onReceive(context: Context, intent: Intent) {
    
    63
    -                if (intent.action === Intent.ACTION_LOCALE_CHANGED) {
    
    64
    -                    Log.v("LocaleReceiver", "received ACTION_LOCALE_CHANGED")
    
    65
    -                    torConnectionAssistViewModel.fetchRegionNames()
    
    66
    -                }
    
    67
    -            }
    
    68
    -        }
    
    69
    -
    
    70 59
             viewLifecycleOwner.lifecycleScope.launch {
    
    71 60
                 repeatOnLifecycle(Lifecycle.State.STARTED) {
    
    72 61
                     torConnectionAssistViewModel.collectTorConnectStage()