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

Commit a2b22238 authored by Christopher Tate's avatar Christopher Tate Committed by The Android Open Source Project
Browse files

am 6f317426: Don\'t issue a deletion for the global metadata backup

Merge commit '6f317426'

* commit '6f317426':
  Don't issue a deletion for the global metadata backup
parents a9fa1799 6f317426
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -120,7 +120,10 @@ public class PackageManagerBackupAgent extends BackupAgent {
            // write its signature block to the output, keyed on the package name.
            for (PackageInfo pkg : mAllPackages) {
                String packName = pkg.packageName;
                if (!existing.contains(packName)) {
                if (packName.equals(GLOBAL_METADATA_KEY)) {
                    // We've already handled the metadata key; skip it here
                    continue;
                } else if (!existing.contains(packName)) {
                    // We haven't stored this app's signatures yet, so we do that now
                    try {
                        PackageInfo info = mPackageManager.getPackageInfo(packName,