Commit 895ea665 authored by Alex Catarineu's avatar Alex Catarineu
Browse files

fixup! Bug 40028: Implement Tor Service controller

Part of #40078 fix.
parent a12d5cac
Pipeline #1364 failed with stages
in 11 minutes and 17 seconds
...@@ -119,13 +119,6 @@ class TorController( ...@@ -119,13 +119,6 @@ class TorController(
Prefs.setBridgesList(value) Prefs.setBridgesList(value)
} }
init {
// Bug 40040: Hacky: Initialize TorService when we are instantiated. This should
// help avoid a race condition involving copying assets and starting tor in TorService.
val torServiceStatus = Intent(context, TorService::class.java)
context.startService(torServiceStatus)
}
fun start() { fun start() {
// Register receiver // Register receiver
lbm.registerReceiver( lbm.registerReceiver(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment