Default the auto-restore setting to "enabled."

Change-Id: I6aeb0b4ace3c0ed1ad226b00a9ec9e4de12b7183
This commit is contained in:
Christopher Tate
2010-02-25 18:00:29 -08:00
parent 2856b84232
commit c99cffbffc

View File

@@ -129,7 +129,7 @@ public class PrivacySettings extends PreferenceActivity implements
mBackup.setChecked(backupEnabled);
mAutoRestore.setChecked(Settings.Secure.getInt(res,
Settings.Secure.BACKUP_AUTO_RESTORE, 0) == 1);
Settings.Secure.BACKUP_AUTO_RESTORE, 1) == 1);
mAutoRestore.setEnabled(backupEnabled);
}