Merge "Un-hide the new BackupAgent.onFullBackup() API"

This commit is contained in:
Christopher Tate
2011-08-29 18:11:38 -07:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 3 deletions

View File

@@ -4040,6 +4040,7 @@ package android.app.backup {
public abstract class BackupAgent extends android.content.ContextWrapper {
ctor public BackupAgent();
method public final void fullBackupFile(java.io.File, android.app.backup.FullBackupDataOutput);
method public abstract void onBackup(android.os.ParcelFileDescriptor, android.app.backup.BackupDataOutput, android.os.ParcelFileDescriptor) throws java.io.IOException;
method public void onCreate();
method public void onDestroy();

View File

@@ -255,10 +255,7 @@ public abstract class BackupAgent extends ContextWrapper {
* will be delivered to the backup destination along with the metadata necessary
* to place it with the proper location and permissions on the device where the
* data is restored.
* @hide
*
* @param context The BackupAgent that is calling this method. It is an error to
* call it from something other than a running BackupAgent instance.
* @param file The file to be backed up. The file must exist and be readable by
* the caller.
* @param output The destination to which the backed-up file data will be sent.