Merge "Fix for 7281523 android.text.cts.SelectionTest#testMoveRight failures" into jb-mr1-dev
This commit is contained in:
@@ -629,7 +629,7 @@ public:
|
||||
jint count, jint flags, jint offset, jint opt) {
|
||||
jfloat scalarArray[count];
|
||||
|
||||
TextLayout::getTextRunAdvances(paint, text, start, count, count, flags,
|
||||
TextLayout::getTextRunAdvances(paint, text, start, count, start + count, flags,
|
||||
scalarArray, NULL /* dont need totalAdvance */);
|
||||
|
||||
jint pos = offset - start;
|
||||
|
||||
Reference in New Issue
Block a user