Be cool in backup/restore of apps that can't touch external storage
Bug: 8241337 Change-Id: I23f6eeba8448b234a7b18ce50d2ced2ba54b4ebd
This commit is contained in:
@@ -3897,6 +3897,7 @@ class BackupManagerService extends IBackupManager.Stub {
|
||||
&& !info.domain.equals(FullBackup.DATABASE_TREE_TOKEN)
|
||||
&& !info.domain.equals(FullBackup.ROOT_TREE_TOKEN)
|
||||
&& !info.domain.equals(FullBackup.SHAREDPREFS_TREE_TOKEN)
|
||||
&& !info.domain.equals(FullBackup.MANAGED_EXTERNAL_TREE_TOKEN)
|
||||
&& !info.domain.equals(FullBackup.OBB_TREE_TOKEN)
|
||||
&& !info.domain.equals(FullBackup.CACHE_TREE_TOKEN)) {
|
||||
throw new IOException("Unrecognized domain " + info.domain);
|
||||
|
||||
Reference in New Issue
Block a user