Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c876ebe7 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Merge "Do not perform backup/restore of instant apps" into oc-dev am: 1835f076

am: 8686e221

Change-Id: Ic9116dd9134b0b03e4eaa60c21cf00454ac36ba5
parents 00adcb06 8686e221
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -792,6 +792,11 @@ public class BackupManagerService implements BackupManagerServiceInterface {
            return false;
            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
        // Everything else checks out; the only remaining roadblock would be if the
        // package were disabled
        // package were disabled
        return !appIsDisabled(app, pm);
        return !appIsDisabled(app, pm);