commit | fc59c344bfd792674d9bfa388c4afe8bc00a90a4 | [log] [tgz] |
---|---|---|
author | Christine Hallstrom <hallstrom@google.com> | Fri Jun 17 16:00:25 2016 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Sat Jun 18 00:09:45 2016 +0000 |
tree | f03d1cca4dd60d4705509359f4d17be6f73a1890 | |
parent | 01e7c10d375d98e255c4adaac4d310ffb3f0b8d2 [diff] |
Fix early termination of while loop in BluetoothSocket#write While loop exits too early and misses writing remaining bytes. Also restructured the loop itself to be more readable. Change-Id: I71e9b331d20b5ae70175450c3346be43ab56c40c