Disable photo picker for new installations

This commit is contained in:
M66B
2022-09-01 11:26:47 +02:00
parent 974488d715
commit 689cbc8330
3 changed files with 6 additions and 2 deletions

View File

@@ -653,6 +653,10 @@ public class ApplicationEx extends Application
editor.putBoolean("doubletap", true);
} else if (version < 1960)
editor.remove("sqlite_auto_vacuum");
else if (version < 1961) {
if (!prefs.contains("photo_picker"))
editor.putBoolean("photo_picker", true);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");