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

[tor-commits] [Git][tpo/applications/fenix][tor-browser-82.0.0b4-10.0-1] 4 commits: fixup! Bug 40058: Hide option for disallowing addon in private mode



Title: GitLab

Matthew Finkel pushed to branch tor-browser-82.0.0b4-10.0-1 at The Tor Project / Applications / fenix

Commits:

2 changed files:

Changes:

  • app/src/main/java/org/mozilla/fenix/addons/InstalledAddonDetailsFragment.kt
    ... ... @@ -113,7 +113,7 @@ class InstalledAddonDetailsFragment : Fragment() {
    113 113
                             runIfFragmentIsAttached {
    
    114 114
                                 this.addon = it
    
    115 115
                                 switch.isClickable = true
    
    116
    -                            privateBrowsingSwitch.isVisible = it.isEnabled()
    
    116
    +                            privateBrowsingSwitch.isVisible = false
    
    117 117
                                 privateBrowsingSwitch.isChecked = it.isAllowedInPrivateBrowsing()
    
    118 118
                                 switch.setText(R.string.mozac_feature_addons_enabled)
    
    119 119
                                 view.settings.isVisible = shouldSettingsBeVisible()
    

  • app/src/main/java/org/mozilla/fenix/tor/TorController.kt
    ... ... @@ -119,13 +119,6 @@ class TorController(
    119 119
                 Prefs.setBridgesList(value)
    
    120 120
             }
    
    121 121
     
    
    122
    -    init {
    
    123
    -        // Bug 40040: Hacky: Initialize TorService when we are instantiated. This should
    
    124
    -        // help avoid a race condition involving copying assets and starting tor in TorService.
    
    125
    -        val torServiceStatus = Intent(context, TorService::class.java)
    
    126
    -        context.startService(torServiceStatus)
    
    127
    -    }
    
    128
    -
    
    129 122
         fun start() {
    
    130 123
             // Register receiver
    
    131 124
             lbm.registerReceiver(
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits