diff options
| author | Kenny Guy <kennyguy@google.com> | 2015-01-21 16:52:01 +0000 |
|---|---|---|
| committer | Kenny Guy <kennyguy@google.com> | 2015-01-21 16:52:01 +0000 |
| commit | a526a1e78c5b02096f596097ece4611a6fcc9e27 (patch) | |
| tree | c70090da239ef898af6207a2ba00f5e0f3b7dd59 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 1480108d05f37b7ae50dab68eb9e3c1eca3519f6 (diff) | |
Flush and sync before calling JournaledFile.commit
JournaledFile.commit on ext4 isn't atomic you need
to flush / sync before closing the file otherwise
you might end up with an empty file.
Bug: 19091744
Change-Id: Ia04784084053cc8ce338a13a61dc6d397610a006
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
