Dan Ballard pushed to branch tor-browser-128.7.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/HomeActivity.kt
    ... ... @@ -452,10 +452,12 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorAn
    452 452
     
    
    453 453
             components.notificationsDelegate.bindToActivity(this)
    
    454 454
     
    
    455
    -        val engine = components.core.engine
    
    456
    -        if (engine is GeckoEngine) {
    
    457
    -            val torIntegration = engine.getTorIntegrationController()
    
    458
    -            torIntegration.registerBootstrapStateChangeListener(this)
    
    455
    +        if (settings().useHtmlConnectionUi) {
    
    456
    +            val engine = components.core.engine
    
    457
    +            if (engine is GeckoEngine) {
    
    458
    +                val torIntegration = engine.getTorIntegrationController()
    
    459
    +                torIntegration.registerBootstrapStateChangeListener(this)
    
    460
    +            }
    
    459 461
             }
    
    460 462
     
    
    461 463
             StartupTimeline.onActivityCreateEndHome(this) // DO NOT MOVE ANYTHING BELOW HERE.