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

Commit a43e2409 authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Correct misleading javadoc for BackupHelper" into lmp-dev

parents 12b50095 cd31d5d9
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -37,10 +37,9 @@ import android.os.ParcelFileDescriptor;
 */
public interface BackupHelper {
    /**
     * Based on <code>oldState</code>, determine which of the files from the
     * application's data directory need to be backed up, write them to
     * <code>data</code>, and fill in <code>newState</code> with the state as it
     * exists now.
     * Based on <code>oldState</code>, determine what application content
     * needs to be backed up, write it to <code>data</code>, and fill in
     * <code>newState</code> with the complete state as it exists now.
     * <p>
     * Implementing this method is much like implementing
     * {@link BackupAgent#onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor)