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

Commit 00568d35 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 96c09773: Merge "Remember having done full-data as well as key/value app backups" into lmp-dev

* commit '96c097737bf7874b240f86b313d561fe1f14678e':
  Remember having done full-data as well as key/value app backups
parents 3dbf82f0 eee0ea20
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1963,8 +1963,9 @@ public class BackupManagerService extends IBackupManager.Stub {
        return packages;
    }

    // Called from the backup task: record that the given app has been successfully
    // backed up at least once
    // Called from the backup tasks: record that the given app has been successfully
    // backed up at least once.  This includes both key/value and full-data backups
    // through the transport.
    void logBackupComplete(String packageName) {
        if (packageName.equals(PACKAGE_MANAGER_SENTINEL)) return;

@@ -3837,6 +3838,7 @@ public class BackupManagerService extends IBackupManager.Stub {
                        // Success!
                        EventLog.writeEvent(EventLogTags.FULL_BACKUP_SUCCESS,
                                currentPackage.packageName);
                        logBackupComplete(currentPackage.packageName);
                    }
                    cleanUpPipes(transportPipes);
                    cleanUpPipes(enginePipes);