Make auto-update default on Android 12+ & stop background prompts.

Sets preference for auto updates to true by default if device runs
Android 12 and later.

Reverts change allowing the install prompt to show up from the
background and instead require the notification on all Android versions.
This commit is contained in:
Matthew Crossman
2022-01-04 16:21:08 +11:00
parent fce311098d
commit e1fc3c656a
2 changed files with 3 additions and 4 deletions

View File

@ -132,7 +132,7 @@ object Preferences {
Value.EnumerationValue(Preferences.AutoSync.Wifi)
)
object AutoSyncInstall :
Key<Boolean>("auto_sync_install", Value.BooleanValue(true))
Key<Boolean>("auto_sync_install", Value.BooleanValue(Android.sdk(31)))
object IncompatibleVersions :
Key<Boolean>("incompatible_versions", Value.BooleanValue(false))