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


Commits:
ab8cd7fd by hackademix at 2025-10-28T10:09:52+01:00
fixup! [android] Modify add-on support

TB 44293: Force immediate NoScript update checks after bootstraps

- - - - -


1 changed file:

- 
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/TorBrowserFeatures.kt


Changes:

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



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ab8cd7fd38a8ca03b36144b5259f4ec6609f61b4

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ab8cd7fd38a8ca03b36144b5259f4ec6609f61b4
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to