Merge "Do not perform backup/restore of instant apps" into oc-dev

am: 1835f076b3

Change-Id: I758963526478479acd4806a0a98262764ae46046
This commit is contained in:
Christopher Tate
2017-05-12 23:47:38 +00:00
committed by android-build-merger

View File

@@ -790,6 +790,11 @@ public class BackupManagerService {
return false;
}
// 4. it is an "instant" app
if (app.isInstantApp()) {
return false;
}
// Everything else checks out; the only remaining roadblock would be if the
// package were disabled
return !appIsDisabled(app, pm);