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

Commit 8686e221 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

Change-Id: I758963526478479acd4806a0a98262764ae46046
parents a17fe9cc 1835f076
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);