Merge "Automatically restore app data at install time"
This commit is contained in:
@@ -61,6 +61,12 @@ interface IBackupManager {
|
||||
*/
|
||||
void agentDisconnected(String packageName);
|
||||
|
||||
/**
|
||||
* Notify the Backup Manager Service that an application being installed will
|
||||
* need a data-restore pass. This method is only invoked by the Package Manager.
|
||||
*/
|
||||
void restoreAtInstall(String packageName, int token);
|
||||
|
||||
/**
|
||||
* Enable/disable the backup service entirely. When disabled, no backup
|
||||
* or restore operations will take place. Data-changed notifications will
|
||||
|
||||
@@ -68,8 +68,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
||||
* will be null if the application does not specify it in its manifest.
|
||||
*
|
||||
* <p>If android:allowBackup is set to false, this attribute is ignored.
|
||||
*
|
||||
* {@hide}
|
||||
*/
|
||||
public String backupAgentName;
|
||||
|
||||
|
||||
@@ -154,6 +154,8 @@ interface IPackageManager {
|
||||
void installPackage(in Uri packageURI, IPackageInstallObserver observer, int flags,
|
||||
in String installerPackageName);
|
||||
|
||||
void finishPackageInstall(int token);
|
||||
|
||||
/**
|
||||
* Delete a package.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user