diff options
author | Ruslan Tkhakokhov <rthakohov@google.com> | 2020-01-17 15:22:18 +0000 |
---|---|---|
committer | Ruslan Tkhakokhov <rthakohov@google.com> | 2020-01-28 16:37:35 +0000 |
commit | 9e76d042ca05857e04fae0c742dc3f0242c4c560 (patch) | |
tree | 0a95f5471f4ab537f46317e396e6e226c068d2c0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ccfe41b875d3f3a61262e3cc0c3e9408e3837917 (diff) |
Stage 'android' package in PerformUnifiedRestoreTask
Bug: 145126096
Test: atest KeyValueRestoreExclusionHostSideTest
atest PerformUnifiedRestoreTaskTest
In a KV restore after getting data from the transport, we save it into a
stage file. Then we go through the keys and do filtering: skip the keys
that should be excluded and extract the widget data into a separate
file. The rest of the data is wirtten into the file where the app's
backup agent will read it from.
However, this process is skipped for 'android' package. It was done as
an optimization before the ability to exclude keys from restore was
introduced: as 'android' backup data doesn't contain any widget info.
However, now we need to process 'android' package as well because it can
contain keys to be excluded.
Change-Id: I612f8cc9c6903c9bd257762360dadb81ed12d106
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions