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

[tor-commits] [Git][tpo/applications/fenix][tor-browser-81.1.1-10.0-1] 2 commits: fixup! Bug 40028: Implement Tor Service controller



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • app/src/main/java/org/mozilla/fenix/tor/TorController.kt
    ... ... @@ -119,6 +119,13 @@ 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
    +
    
    122 129
         fun start() {
    
    123 130
             // Register receiver
    
    124 131
             lbm.registerReceiver(
    

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