commit | 6cf1da7d3eaccd964dd9c99885924347ad2b66f3 | [log] [tgz] |
---|---|---|
author | Ruslan Tkhakokhov <rthakohov@google.com> | Fri Jul 24 00:05:47 2020 +0100 |
committer | Ruslan Tkhakokhov <rthakohov@google.com> | Thu Aug 06 17:47:43 2020 +0100 |
tree | 6379cc1aa6c456e4976ce5b47cfcc2ad794766d7 | |
parent | 1304c4aa57d78eb51d6bfa6a959560ecc55f1849 [diff] |
[FSD2D] Adjust backup agent creation for device-to-device migrations 1. Pass @OperationType to backup agent on creation so that it can adjust its behavior if needed. 2. For device-to-device migrations, always instantiate FullBackupAgent regardless of the app's preferences. Bug: 160407842 Test: atest FrameworksServicesTests:ActivityManagerServiceTest Change-Id: I89bf2b074e7a1039b9af70660a3f19a9bb7dab23