Merge \"Fix early termination of while loop in BluetoothSocket#write\" into nyc-mr1-dev
am: ac1873b2fc

Change-Id: I4aede7ac37289fcf23642624db7f15da50163ce3