Skip to content
Snippets Groups Projects
Verified Commit e56124b4 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 40597: Implement TorSettings module

Bug 42607 (part): Do not try to enable Lox on Android.

Lox is not on Android, yet (not even in alpha), so we removed its WASM
blob to make x86 build fit the play store requirements.
However, this causes an error message in the console, which we do not
need to show because it is completely expected.
parent 7d601745
Branches
No related tags found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1174Bug 42607 (part): Do not ship the Lox wasm blob on Android.
......@@ -696,11 +696,13 @@ class TorSettingsImpl {
// Initialize this before loading from prefs because we need Lox initialized
// before any calls to Lox.getBridges().
if (!lazy.TorLauncherUtil.isAndroid) {
try {
await lazy.Lox.init();
} catch (e) {
lazy.logger.error("Could not initialize Lox.", e);
}
}
if (
lazy.TorLauncherUtil.shouldStartAndOwnTor &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment