diff --git a/gearslip/src/main/java/app/seb3thehacker/gearslip/update/UpdateChecker.kt b/gearslip/src/main/java/app/seb3thehacker/gearslip/update/UpdateChecker.kt index 9dbd5e6..53ed80e 100644 --- a/gearslip/src/main/java/app/seb3thehacker/gearslip/update/UpdateChecker.kt +++ b/gearslip/src/main/java/app/seb3thehacker/gearslip/update/UpdateChecker.kt @@ -113,8 +113,12 @@ object UpdateChecker { if (!on) NotificationManagerCompat.from(context).cancel(NOTIFICATION_ID) } - /** Whether a Stable update installs by itself on Wi-Fi with no car connected. On by default. */ - fun silentEnabled(context: Context): Boolean = prefs(context).getBoolean(KEY_SILENT, true) + /** + * Whether a Stable update installs by itself on Wi-Fi with no car connected. Off unless the + * driver turns it on: an app that replaces itself unasked was the first worry people raised + * about Gearslip's security, so by default an update waits for a tap. + */ + fun silentEnabled(context: Context): Boolean = prefs(context).getBoolean(KEY_SILENT, false) fun setSilentEnabled(context: Context, on: Boolean) { prefs(context).edit().putBoolean(KEY_SILENT, on).apply()