commit | 74bf71b23c5deca47166d6627361f26ee5d62a7c | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Wed Jul 19 16:49:52 2017 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Thu Jul 20 13:50:23 2017 -0700 |
tree | 728e1d96b06251dbd0c7d8f9821ab3dcedce5e67 | |
parent | 479b762f995c2cfc5938124681ab8f5a8e33b519 [diff] |
Handle an edge case that can reset settings provider data If the AtomicFile does the rename and fails when writing the original, make sure we can at least use the backup on reboot. Bug: 63753300 Test: Stop shell, move settings_global.xml to backup, start shell. Change-Id: I2049b48af05161bb2c68717a71c1700a95150a6c