Matthew Finkel pushed to branch tor-browser-82.0.0b4-10.0-1 at The Tor Project / Applications / fenix
Commits:
-
8031e181
by Alex Catarineu at 2020-10-15T13:11:10+02:00
-
53ea7a05
by Alex Catarineu at 2020-10-15T17:30:46+02:00
-
10fcc45a
by Matthew Finkel at 2020-10-15T20:41:28+00:00
-
15968de0
by Matthew Finkel at 2020-10-15T20:42:44+00:00
2 changed files:
- app/src/main/java/org/mozilla/fenix/addons/InstalledAddonDetailsFragment.kt
- app/src/main/java/org/mozilla/fenix/tor/TorController.kt
Changes:
... | ... | @@ -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()
|
... | ... | @@ -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(
|