diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-05 15:29:54 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-05 15:29:54 +0000 |
commit | 43b3152d075138b11e1fe297682b3bbc775e5641 (patch) | |
tree | 3a325b0effac02fbd228b8ddf2f96589e5df72cd /java/com/android/dialer/backup/DialerBackupAgent.java | |
parent | 2034759538273aed8a0b412d8fb90994eba1f7ea (diff) | |
parent | 300a8683b9c28424fb0f0c571a0abe128c461f69 (diff) |
Update Dialer to V10 RC16 am: 10b34a5ebf
am: 300a8683b9
Change-Id: If5695bad59f8a4dab6e6c90b54943b900bd2652a
Diffstat (limited to 'java/com/android/dialer/backup/DialerBackupAgent.java')
-rw-r--r-- | java/com/android/dialer/backup/DialerBackupAgent.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/dialer/backup/DialerBackupAgent.java b/java/com/android/dialer/backup/DialerBackupAgent.java index 27dfc29f4..dec1ca1a7 100644 --- a/java/com/android/dialer/backup/DialerBackupAgent.java +++ b/java/com/android/dialer/backup/DialerBackupAgent.java @@ -81,15 +81,14 @@ public class DialerBackupAgent extends BackupAgent { /** * onRestore is used for Key/Value restore. Since we are using Dolly/Android Auto backup/restore, - * we do not need to implement this method as Dolly should not be calling this method. Instead - * onFileRestore will be called by Dolly. + * we need to implement this method only for backwards compatibility. Dolly should be calling + * onFileRestore during its restore. */ @Override public void onRestore( BackupDataInput backupDataInput, int i, ParcelFileDescriptor parcelFileDescriptor) throws IOException { Logger.get(this).logImpression(DialerImpression.Type.BACKUP_ON_RESTORE); - Assert.fail("Android Backup should not call DialerBackupAgent.onRestore"); } @TargetApi(VERSION_CODES.M) |