summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJohan Toras Halseth <johanth@google.com>2017-03-03 15:37:43 +0000
committerMichal Karpinski <mkarpinski@google.com>2017-03-24 23:51:48 +0000
commitb59a4b85ade3f1f408def6a0dd3dbb146225bdd7 (patch)
treec0591b4086fde7cfcab9654a3cffff12cc9a5a75 /tools/aapt2/diff/Diff.cpp
parentb1c88ecf05bd8992dccd17e6f0b59db7e7ac819f (diff)
Add support for key-value packages to adb backup/restore.
For adding CTS tests for packages having key-value backup agents, we add support for key-value backups to the adb backup/restore command. Previously, packages not supporting fullbackup would just be skipped on this command. Now, by adding the -keyvalue flag to the adb backup command, packages supporting key-value will also be added to the resulting tarball. Similarly, if the tarball being supplied to adb restore contains data from key-value packages, it will be restored. This will later be utilized for writing CTS tests for such packages. Test: adb backup -includekeyvalue -all && adb restore backup.ab Change-Id: I7b4ccfb7072d01d29a888952145d7cce90a4f59e
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions