ma1 pushed to branch tor-browser-140.4.0esr-15.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/TorBrowserFeatures.kt
    ... ... @@ -146,11 +146,10 @@ object TorBrowserFeatures {
    146 146
                 override fun onBootstrapped() {
    
    147 147
                     // Enable automatic updates. This must be done on every startup (tor-browser#42353)
    
    148 148
                     context.components.addonUpdater.registerForFutureUpdates(NOSCRIPT_ID)
    
    149
    -                // Force a one-time immediate update check for older installations
    
    150
    -                if (settings.noscriptUpdated < 2) {
    
    151
    -                    context.components.addonUpdater.update(NOSCRIPT_ID)
    
    152
    -                    settings.noscriptUpdated = 2
    
    153
    -                }
    
    149
    +                // Force an immediate update check for older installations
    
    150
    +                // and as belt-and-suspenders if scheduled updates fail (tor-browser#44293)
    
    151
    +                context.components.addonUpdater.update(NOSCRIPT_ID)
    
    152
    +                settings.noscriptUpdated = 2
    
    154 153
                 }
    
    155 154
             })
    
    156 155
         }