commit | d903074ea80e70bb02a433ecbcef5b3d72a7c6c9 | [log] [tgz] |
---|---|---|
author | Anton Philippov <philippov@google.com> | Mon Mar 26 19:12:08 2018 +0100 |
committer | Anton Philippov <philippov@google.com> | Thu Mar 29 16:56:10 2018 +0100 |
tree | 6058bb4e5c4d0a8cff1fd470243b45b49ced107a | |
parent | 52c15f1699e60c0701cc21a69847a005efe87bc9 [diff] |
Add FLAG_INCREMENTAL support to LocalTransport. Implement performBackup() with flags argument: 1. If FLAG_INCREMENTAL is passed and transport has no data for this package or supports only non-incremental backups, request a non-incremental retry. 2. If FLAG_NON_INCREMENTAL is passed, but transport has data, discard that data and continue. Bug: 72212840 Test: GTS test in the same topic Change-Id: I4c4a1dbfa1a807e4d4c523f42bb6a404a39731e9