Pier Angelo Vendrame pushed to branch tor-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
8e5e2d5c
by clairehurst at 2025-01-21T16:49:29+00:00
1 changed file:
Changes:
| ... | ... | @@ -659,12 +659,13 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn |
| 659 | 659 | // and not only the top Activity/Task. Therefore we kill the
|
| 660 | 660 | // underlying Application, as well.
|
| 661 | 661 | (application as FenixApplication).terminate()
|
| 662 | - }
|
|
| 663 | - |
|
| 664 | - val engine = components.core.engine
|
|
| 665 | - if (engine is GeckoEngine) {
|
|
| 666 | - val torIntegration = engine.getTorIntegrationController()
|
|
| 667 | - torIntegration.unregisterBootstrapStateChangeListener(this)
|
|
| 662 | + if (settings().useHtmlConnectionUi) {
|
|
| 663 | + val engine = components.core.engine
|
|
| 664 | + if (engine is GeckoEngine) {
|
|
| 665 | + val torIntegration = engine.getTorIntegrationController()
|
|
| 666 | + torIntegration.unregisterBootstrapStateChangeListener(this)
|
|
| 667 | + }
|
|
| 668 | + }
|
|
| 668 | 669 | }
|
| 669 | 670 | }
|
| 670 | 671 |