commit | 2ea4853ca6612416086a30e31dd385b747d47119 | [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 | 786da1b350824c0998d01fbf1c2f257b0404f6fa [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