diff options
author | Elliott Hughes <enh@google.com> | 2011-04-28 17:07:10 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-05-06 10:41:47 -0700 |
commit | 20b0416aa49b46b586ecf3d0b33016217d2dca63 (patch) | |
tree | 896bbbef8476a8d05882ada105b5d074442f3754 /xml/src/main/java/org/kxml2 | |
parent | 4f305bfb4fc16b7f80c323f44987f9a2315e2eb4 (diff) | |
download | libcore-20b0416aa49b46b586ecf3d0b33016217d2dca63.zip libcore-20b0416aa49b46b586ecf3d0b33016217d2dca63.tar.gz libcore-20b0416aa49b46b586ecf3d0b33016217d2dca63.tar.bz2 |
Fix the byte order of non-ByteBuffer duplicate and slice results.
ByteBuffer.duplicate and ByteBuffer.slice always return big-endian buffers.
Any other kind of buffer returns a buffer with the same endian as itself.
We didn't have tests for the latter, and broke this in Honeycomb.
Bug: http://code.google.com/p/android/issues/detail?id=16434
Bug: 4361578
git cherry-pick 87c354d8d6faa77dee1820df2f0ad2666b9f0331
Change-Id: Idf8dc6f47ffdbfe82b83e9ce1186f1717ec0ef8f
Diffstat (limited to 'xml/src/main/java/org/kxml2')
0 files changed, 0 insertions, 0 deletions