Merge "Do not perform backup/restore of instant apps" into oc-dev
am: 1835f076b3
Change-Id: I758963526478479acd4806a0a98262764ae46046
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user