[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.7.0esr-14.5-1] fixup! [android] Implement Android-native Connection Assist UI



Title: GitLab

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

Commits:

  • 8db5a552
    by clairehurst at 2025-02-27T01:14:52+00:00
    fixup! [android] Implement Android-native Connection Assist UI
    
    This should have been included with the following.
    Bug 43359: Improper handling of TorBootstrapChangeListener with respect to system onDestroy() calls for HomeActivity
    

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.
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx