[tbb-commits] [torbutton/maint-10.5-android] Bug 40052: Skip L10nRegistry source registration on Android

richard at torproject.org richard at torproject.org
Fri Oct 8 14:58:52 UTC 2021


commit 03caae3ba4676c4989af948458d6f02c6d3e1a8c
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Thu Oct 7 20:53:39 2021 +0000

    Bug 40052: Skip L10nRegistry source registration on Android
---
 components/startup-observer.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/components/startup-observer.js b/components/startup-observer.js
index f9697987..2c02eeba 100644
--- a/components/startup-observer.js
+++ b/components/startup-observer.js
@@ -84,6 +84,11 @@ function StartupObserver() {
 
     cleanupCookies();
 
+    if (Services.appinfo.OS === "Android") {
+        // Torbutton on Android doesn't use any localized files.
+        return;
+    }
+
     // Using all possible locales so that we do not have to change this list every time we support
     // a new one.
     const allLocales = [



More information about the tbb-commits mailing list