Merge "Don't run obb backup for shared storage backup package." into pi-dev

am: 494113e74a

Change-Id: I5eea028f21a2a91c94855255cb25607f81324b73
This commit is contained in:
android-build-team Robot
2018-05-01 08:43:31 -07:00
committed by android-build-merger

View File

@@ -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);