Backup manager should default to not "provisioned" so backups don't start until the setup wizard is
done.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user