commit | bc215de99298ca59119319ac5bf7285bc3c789a6 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Thu Dec 05 15:23:16 2019 -0800 |
committer | Felipe Leme <felipeal@google.com> | Fri Dec 06 10:18:03 2019 -0800 |
tree | 7f84f0d6eb0804f1e8eb290dfc16ac63e1dc46de | |
parent | 297a84231f594c686faad3d549eb61e78a2d0c72 [diff] |
Make AccountManagerService more resilient to database corruption. Currently, if a user accounts database is corrupted, the system will crash and boot loop. This CL mitigates the issue by removing the user instead. Bug: 145710595 Test: adb shell chmod 000 /data/system_de/10/accounts_de.db && adb reboot Change-Id: I47916fde4577709a2555586b8dc94090605595bd (cherry picked from commit 8472b904ecef69ee12818fa1f69458875a58c8df)