Reset options on import

This commit is contained in:
M66B
2024-03-18 13:05:22 +01:00
parent 0ba95456d9
commit dbbc7111e9
11 changed files with 97 additions and 64 deletions

View File

@@ -406,19 +406,14 @@ public class ApplicationEx extends Application
case "watchdog":
ServiceSynchronize.scheduleWatchdog(this);
break;
case "secure": // privacy
case "load_emoji": // privacy
case "shortcuts": // misc
case "language": // misc
case "wal": // misc
// Should be excluded for import
restart(this, key);
break;
case "debug":
case "log_level":
Log.setLevel(this);
FairEmailLoggingProvider.setLevel(this);
break;
default:
if (FragmentOptionsBackup.RESTART_OPTIONS.contains(key))
restart(this, key);
}
} catch (Throwable ex) {
Log.e(ex);