Merge "Don't run obb backup for shared storage backup package." into pi-dev
am: 494113e74a
Change-Id: I5eea028f21a2a91c94855255cb25607f81324b73
This commit is contained in:
committed by
android-build-merger
commit
e673650aff
@@ -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