We need to flip() the byte buffer before attempting to read the data written to it. bug: 18641009 (cherry picked from commit 96f656c39e) Change-Id: Ib796fafa1e4cf81351245fff6763ce17924acde9
96f656c39e