summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2015-01-15 18:14:46 +0000
committerKenny Guy <kennyguy@google.com>2015-01-15 18:48:01 +0000
commit212037f7cdbf3ac3712ab16f885d62da7f850fe0 (patch)
treeffe7392d946332578846d8837d349b41659a8392 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb018399a3a2762e95126acbe14397eca15bad772 (diff)
Sync file before using JournaledFile commit.
Ext4 doesn't guarantee that write file.new / close file.new rename file.new to file will mean data in file.new makes it to file atomically. The rename may happen with previous contents of file.new and then later update to new contents See docs for noauto_da_alloc So rebooting the device during JournaledFile.commit may mean we are left with an empty file. Bug: 18590558 Change-Id: I35322c82871bed30c2c6ebbd1388338f0471f3ba
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions