commit | 715311fa5aeb39fd0904209e1428a3656c721c3d | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Oct 07 14:17:09 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Oct 07 14:17:09 2011 -0700 |
tree | 28b832569d29e160bb883772c5ab6bbb9589d884 | |
parent | 7ce745248d4de0e6543a559c93423df899832100 [diff] |
Fix regression in CursorWindow.getString() Bug: 5332296 NewStringUTF expects modified UTF-8, so it barfs on UTF-8 strings that contain high codepoints. Even though it results in an extra copy being performed, first convert to UTF-16, then call NewString. Change-Id: Idbfeb3cc2c4b731834e4482848dcac2fa33ec2d0