diff options
| author | Bruno Martins <bgcngm@gmail.com> | 2021-01-10 14:40:28 +0000 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2021-01-10 14:40:54 +0000 |
| commit | 21ae606b717b71b3176582eea0e7216f81b4c19f (patch) | |
| tree | 30e7bfede44f3112d8eec21a98d1f120c1d64d39 | |
| parent | e90cf31f2705da697d6e07edd77a763eff94ba89 (diff) | |
UpdateRecoveryActivity: Don't force recovery update by default
Change-Id: I0992bd257a3acc7ca6872744478121ba7f001ea0
| -rw-r--r-- | src/org/lineageos/setupwizard/UpdateRecoveryActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/lineageos/setupwizard/UpdateRecoveryActivity.java b/src/org/lineageos/setupwizard/UpdateRecoveryActivity.java index aebe830..4e990ed 100644 --- a/src/org/lineageos/setupwizard/UpdateRecoveryActivity.java +++ b/src/org/lineageos/setupwizard/UpdateRecoveryActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 The LineageOS Project + * Copyright (C) 2020-2021 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,7 +62,7 @@ public class UpdateRecoveryActivity extends BaseSetupWizardActivity { // Allow overriding the default checkbox state if (sFirstTime) { mSetupWizardApp.getSettingsBundle().putBoolean(ENABLE_RECOVERY_UPDATE, - SystemProperties.getBoolean(UPDATE_RECOVERY_PROP, true)); + SystemProperties.getBoolean(UPDATE_RECOVERY_PROP, false)); } sFirstTime = false; @@ -73,7 +73,7 @@ public class UpdateRecoveryActivity extends BaseSetupWizardActivity { super.onResume(); final Bundle myPageBundle = mSetupWizardApp.getSettingsBundle(); - final boolean checked = myPageBundle.getBoolean(ENABLE_RECOVERY_UPDATE, true); + final boolean checked = myPageBundle.getBoolean(ENABLE_RECOVERY_UPDATE, false); mRecoveryUpdateCheckbox.setChecked(checked); } |
