[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/maint-10.5-android] Bug 40052: Skip L10nRegistry source registration on Android
commit 03caae3ba4676c4989af948458d6f02c6d3e1a8c
Author: Matthew Finkel <sysrqb@xxxxxxxxxxxxxx>
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 = [
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits