commit | 7b720288b5c1a1259d687c9467f63ddf71e6512a | [log] [tgz] |
---|---|---|
author | Jeongsik Mun <[email protected]> | Sun Sep 12 13:08:08 2021 +0900 |
committer | Patrick Baumann <[email protected]> | Thu Sep 30 19:31:37 2021 +0000 |
tree | 8fad22cd306585797be16e76928bdc530038fcf1 | |
parent | f0a30f66d5072efc66da51a4ca8aec5aa11f8e39 [diff] |
Fix the overrides file corruption due to shutdown The dynamic overrides file could be corrupted by shutdown during writes. This CL introduces the backup file to avoid corruption. Test: manual 1. push a backup file to /data/misc/appcompat/ 2. push a corrupted file to /data/misc/appcompat/ 3. Reboot and see if it reads the backup file Bug: 196909332 Change-Id: If13547f04a4712ab18dcb97ffee698327797f97b