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

Commit 2584736f authored by Marvin Paul's avatar Marvin Paul Committed by Android (Google) Code Review
Browse files

Merge "Buffer SettingsBackupAgent checksum writes"

parents 899ec23f 68795557
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -580,7 +580,7 @@ public class SettingsBackupAgent extends BackupAgentHelper {
    private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState)
            throws IOException {
        DataOutputStream dataOutput = new DataOutputStream(
                new FileOutputStream(newState.getFileDescriptor()));
                new BufferedOutputStream(new FileOutputStream(newState.getFileDescriptor())));

        dataOutput.writeInt(STATE_VERSION);
        for (int i = 0; i < STATE_SIZE; i++) {