commit | 11621353f257da69595d5c608b75d5220532f06c | [log] [tgz] |
---|---|---|
author | Tommy Chiu <tommychiu@google.com> | Tue Mar 26 14:14:19 2019 +0800 |
committer | Paul Crowley <paulcrowley@google.com> | Fri Apr 05 04:06:38 2019 -0700 |
tree | b6eb6b7e002f326d1f2b111cb190aed6bb3aa364 | |
parent | 97466cb1453585930d863cccdedf8acf57520edf [diff] |
vold: fsync both file and directory after write keys Use vold version of writeStringToFile which fsync files, and manually fsync directories after initialize global DE (cherry picked from commit a98464f688d6e16ca7558251306ece98058b55ce) Bug: 71810347 Test: Build pass and reboot stress test. Original boot failure symptom is NOT reproducible. Change-Id: I1ca8f8cf0ccfd01075a9c33f79042e58d99aea26 Merged-In: I1ca8f8cf0ccfd01075a9c33f79042e58d99aea26