Backup manager should default to not "provisioned" so backups don't start until the setup wizard is

done.
This commit is contained in:
Joe Onorato
2009-07-27 08:56:39 -07:00
parent ddca3ee3e8
commit ab9a2a52c5

View File

@@ -201,7 +201,7 @@ class BackupManagerService extends IBackupManager.Stub {
Settings.Secure.BACKUP_ENABLED, 0) != 0;
// !!! TODO: mProvisioned needs to default to 0, not 1.
mProvisioned = Settings.Secure.getInt(context.getContentResolver(),
Settings.Secure.BACKUP_PROVISIONED, 1) != 0;
Settings.Secure.BACKUP_PROVISIONED, 0) != 0;
mBaseStateDir = new File(Environment.getDataDirectory(), "backup");
mDataDir = Environment.getDownloadCacheDirectory();