OSDN Git Service

Fix Layout.isRtlCharAt
authorRaph Levien <raph@google.com>
Thu, 4 Sep 2014 19:47:03 +0000 (12:47 -0700)
committerRaph Levien <raph@google.com>
Thu, 4 Sep 2014 19:47:03 +0000 (12:47 -0700)
commit875062059c4932ddf5649720c26e7f59b6ab9978
tree9ab79ed38dfe6fa1b90e216fd2075ca09032af52
parent89369b29db78ca0bfffbdabbb27c4232b3cac8e4
Fix Layout.isRtlCharAt

We weren't getting correct results from Layout.isRtlCharAt, because it
was only testing half of the correct predicate for whether the argument
was inside the run. This patch restores the correct predicate.

Bug: 17381011
Change-Id: Ib0a77cc182f4ca4bfe824e85b7aff7268f465d73
core/java/android/text/Layout.java