forked from LineageOS/android_frameworks_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
ccfe41b
commit 9e76d04
Showing
2 changed files
with
53 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters