diff options
| author | Ruslan Tkhakokhov <rthakohov@google.com> | 2021-01-29 11:10:24 +0000 |
|---|---|---|
| committer | Ruslan Tkhakokhov <rthakohov@google.com> | 2021-02-11 09:57:14 +0000 |
| commit | f81af9df21be3f01d4364571085048e668510d9c (patch) | |
| tree | cadee9b932c62fcd834b22880ad2de41c8735975 /docs/html/sdk/api_diff/11 | |
| parent | e90010e4630885552fa67ecf841f38ab852c93e6 (diff) | |
Get OperationType from transport
Earlier we introduced versions of BackupManager#requestBackup() and
BackupManager#beginRestoreSession() that take @OperationType as a
parameter (i.e. backup or device-to-device migration). Change the logic
to determine the operation type from the properties of the transport
(BackupTransport#getTransportFlags()). This will help avoid introducing
unnecessary APIs and save us from having to ensure consitency between
@OperationType passed through to BackupManager and properties of the
transport used for that operation.
Bug: 174216309
Test: atest UserBackupManagerServiceTest
Change-Id: I04a6014087c98efdeb8710fadc620b0856d7554b
Diffstat (limited to 'docs/html/sdk/api_diff/11')
0 files changed, 0 insertions, 0 deletions
