Merge "Un-hide the new BackupAgent.onFullBackup() API"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3765621434
@@ -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();
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user