diff options
| author | 2023-05-31 15:22:53 +0900 | |
|---|---|---|
| committer | 2023-06-01 09:53:34 -0700 | |
| commit | cf0b30b786bc2edfae5192a28feedba50ed13b1e (patch) | |
| tree | ccf86370dd818e19356dd9e195e299adfd861c85 /libs/androidfw/ApkParsing.cpp | |
| parent | 011b5373ee36e56db18303cb7af2ea6b30f3c80c (diff) | |
Add a backup and restore logic to ShortcutPackageItems
If shortcut package or launcher xml file is corrupted, booting would be
failed. It makes a reservecopy file when writing the files and use it
if the original file is corrupted.
Bug: 269072872
Test: atest ShortcutManagerTest1
Change-Id: I91b50db46f3eadf98e6a9eb96165be2ad3c7646a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions