commit | 67b3cad9a0de47f0afd5aaf9471661383acd2531 | [log] [tgz] |
---|---|---|
author | Johan Redestig <johan.redestig@sonymobile.com> | Thu Oct 08 21:36:35 2015 +0200 |
committer | Elliott Hughes <enh@google.com> | Tue Oct 13 14:49:38 2015 +0000 |
tree | f4984ac0f72c4d989c727cab36afe87bd6da6fe9 | |
parent | 73bf853edfd89c733fabb563a5dcd20a6599ffb9 [diff] |
Switch to android::base::ReadFully The if (read(...size) != size) pattern is unreliable, switch to the android base ReadFully which wraps read in a loop. Change-Id: I2324e4c45da3c9b53b18df6eb09ce69a6604b5d1