diff options
| author | 2023-12-19 16:35:02 -0800 | |
|---|---|---|
| committer | 2024-01-02 15:28:23 -0800 | |
| commit | a9de3aa8e71373f6ec2d312b0662ded7664bee07 (patch) | |
| tree | a65707e1242125567df2e7df868c0a625c23b1fd /libs/androidfw/AssetsProvider.cpp | |
| parent | b3acd62209a67b9ff839c75c08ab76fd5a8d95e1 (diff) | |
Flush output buffers when command is complete
The PrintWriters in ShellCommand are not autoflush, so they need to be manually
flushed. Rather than put the onus on subclasses, this automatically flushes them
when the command exits cleanly
Test: Run a command that has an exception. See the exception get printed to the
console after this change.
Change-Id: I6f27a4d1183008191ee97071c2e238af7a2edd5f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions