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

This commit is contained in:
TreeHugger Robot
2017-05-12 23:40:34 +00:00
committed by Android (Google) Code Review

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