Pier Angelo Vendrame pushed to branch tor-browser-115.9.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
c2461f1d
by clairehurst at 2024-03-20T09:39:13+01:00
1 changed file:
Changes:
... | ... | @@ -181,8 +181,6 @@ public class TorIntegrationAndroid implements BundleEventListener { |
181 | 181 | TorSettings settings;
|
182 | 182 | if (TorLegacyAndroidSettings.unmigrated()) {
|
183 | 183 | settings = TorLegacyAndroidSettings.loadTorSettings();
|
184 | - setSettings(settings, true, true);
|
|
185 | - TorLegacyAndroidSettings.setMigrated();
|
|
186 | 184 | } else {
|
187 | 185 | GeckoBundle bundle = message.getBundle("settings");
|
188 | 186 | settings = new TorSettings(bundle);
|
... | ... | @@ -193,6 +191,10 @@ public class TorIntegrationAndroid implements BundleEventListener { |
193 | 191 | @Override
|
194 | 192 | protected void onPostExecute(TorSettings torSettings) {
|
195 | 193 | mSettings = torSettings;
|
194 | + if (TorLegacyAndroidSettings.unmigrated()) {
|
|
195 | + setSettings(mSettings, true, true);
|
|
196 | + TorLegacyAndroidSettings.setMigrated();
|
|
197 | + }
|
|
196 | 198 | }
|
197 | 199 | }
|
198 | 200 |