API CHANGE: @hide AbsoluteFileBackupHelper
We don't want to publish this, but for risk mitigation we are hiding it rather than rewriting/expanding the FileBackupHelper to accomodate the absolute-path use cases that the system uses internally. Change-Id: I513c97ec54de8dd7d28b10868d447d94b82d4ec3
This commit is contained in:
@ -26785,59 +26785,6 @@
|
|||||||
</package>
|
</package>
|
||||||
<package name="android.app.backup"
|
<package name="android.app.backup"
|
||||||
>
|
>
|
||||||
<class name="AbsoluteFileBackupHelper"
|
|
||||||
extends="android.app.backup.FileBackupHelperBase"
|
|
||||||
abstract="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="public"
|
|
||||||
>
|
|
||||||
<implements name="android.app.backup.BackupHelper">
|
|
||||||
</implements>
|
|
||||||
<constructor name="AbsoluteFileBackupHelper"
|
|
||||||
type="android.app.backup.AbsoluteFileBackupHelper"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="public"
|
|
||||||
>
|
|
||||||
<parameter name="context" type="android.content.Context">
|
|
||||||
</parameter>
|
|
||||||
<parameter name="files" type="java.lang.String...">
|
|
||||||
</parameter>
|
|
||||||
</constructor>
|
|
||||||
<method name="performBackup"
|
|
||||||
return="void"
|
|
||||||
abstract="false"
|
|
||||||
native="false"
|
|
||||||
synchronized="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="public"
|
|
||||||
>
|
|
||||||
<parameter name="oldState" type="android.os.ParcelFileDescriptor">
|
|
||||||
</parameter>
|
|
||||||
<parameter name="data" type="android.app.backup.BackupDataOutput">
|
|
||||||
</parameter>
|
|
||||||
<parameter name="newState" type="android.os.ParcelFileDescriptor">
|
|
||||||
</parameter>
|
|
||||||
</method>
|
|
||||||
<method name="restoreEntity"
|
|
||||||
return="void"
|
|
||||||
abstract="false"
|
|
||||||
native="false"
|
|
||||||
synchronized="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="public"
|
|
||||||
>
|
|
||||||
<parameter name="data" type="android.app.backup.BackupDataInputStream">
|
|
||||||
</parameter>
|
|
||||||
</method>
|
|
||||||
</class>
|
|
||||||
<class name="BackupAgent"
|
<class name="BackupAgent"
|
||||||
extends="android.content.ContextWrapper"
|
extends="android.content.ContextWrapper"
|
||||||
abstract="true"
|
abstract="true"
|
||||||
|
@ -26,7 +26,7 @@ import java.io.File;
|
|||||||
* Like FileBackupHelper, but takes absolute paths for the files instead of
|
* Like FileBackupHelper, but takes absolute paths for the files instead of
|
||||||
* subpaths of getFilesDir()
|
* subpaths of getFilesDir()
|
||||||
*
|
*
|
||||||
* STOPSHIP: document!
|
* @hide
|
||||||
*/
|
*/
|
||||||
public class AbsoluteFileBackupHelper extends FileBackupHelperBase implements BackupHelper {
|
public class AbsoluteFileBackupHelper extends FileBackupHelperBase implements BackupHelper {
|
||||||
private static final String TAG = "AbsoluteFileBackupHelper";
|
private static final String TAG = "AbsoluteFileBackupHelper";
|
||||||
|
Reference in New Issue
Block a user