diff options
author | Christopher Tate <ctate@google.com> | 2016-07-06 15:10:01 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2016-07-06 16:27:32 -0700 |
commit | 59397a8e055faa0e2ed05b20785e43c03db86a1a (patch) | |
tree | e2f8d7afac44f144138328675ec50aabd162ede6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a2a6533d65d195950b27788813d66821ada4bbc2 (diff) |
Explicitly flush compress/encrypt stream before close
We're losing the stream footer for mysterious reasons; maybe this
will help even though supposedly close() is expected to flush pending
buffered writes anyway. In particular, an explicit flush of the
compression stage will generate a SYNC_FLUSH point, which ordinary
deflate-at-close operation does not.
Bug 28056941
Change-Id: I96580411257932d7addb176c6672eae72a5ac6f7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions