Merge "Don't run obb backup for shared storage backup package." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
494113e74a
@@ -421,7 +421,7 @@ public class PerformAdbBackupTask extends FullBackupTask implements BackupRestor
|
||||
|
||||
// after the app's agent runs to handle its private filesystem
|
||||
// contents, back up any OBB content it has on its behalf.
|
||||
if (mIncludeObbs) {
|
||||
if (mIncludeObbs && !isSharedStorage) {
|
||||
boolean obbOkay = obbConnection.backupObbs(pkg, out);
|
||||
if (!obbOkay) {
|
||||
throw new RuntimeException("Failure writing OBB stack for " + pkg);
|
||||
|
||||
Reference in New Issue
Block a user