Loading core/java/android/app/backup/BackupAgent.java +2 −10 Original line number Diff line number Diff line Loading @@ -265,15 +265,9 @@ public abstract class BackupAgent extends ContextWrapper { public void onCreate() { } /** * Provided as a convenience for agent implementations that need an opportunity * to do one-time initialization before the actual backup or restore operation * is begun with information about the calling user. * <p> * * @hide */ /** @hide */ public void onCreate(UserHandle user) { mUser = user; onCreate(); } Loading @@ -284,7 +278,6 @@ public abstract class BackupAgent extends ContextWrapper { */ @Deprecated public void onCreate(UserHandle user, @BackupDestination int backupDestination) { mUser = user; mBackupDestination = backupDestination; onCreate(user); Loading @@ -295,7 +288,6 @@ public abstract class BackupAgent extends ContextWrapper { */ public void onCreate(UserHandle user, @BackupDestination int backupDestination, @OperationType int operationType) { mUser = user; mBackupDestination = backupDestination; mLogger = new BackupRestoreEventLogger(operationType); Loading Loading
core/java/android/app/backup/BackupAgent.java +2 −10 Original line number Diff line number Diff line Loading @@ -265,15 +265,9 @@ public abstract class BackupAgent extends ContextWrapper { public void onCreate() { } /** * Provided as a convenience for agent implementations that need an opportunity * to do one-time initialization before the actual backup or restore operation * is begun with information about the calling user. * <p> * * @hide */ /** @hide */ public void onCreate(UserHandle user) { mUser = user; onCreate(); } Loading @@ -284,7 +278,6 @@ public abstract class BackupAgent extends ContextWrapper { */ @Deprecated public void onCreate(UserHandle user, @BackupDestination int backupDestination) { mUser = user; mBackupDestination = backupDestination; onCreate(user); Loading @@ -295,7 +288,6 @@ public abstract class BackupAgent extends ContextWrapper { */ public void onCreate(UserHandle user, @BackupDestination int backupDestination, @OperationType int operationType) { mUser = user; mBackupDestination = backupDestination; mLogger = new BackupRestoreEventLogger(operationType); Loading