OSDN Git Service

Fix for bug 8911390 RTL text alignment is changed ...
authorRaph Levien <raph@google.com>
Tue, 14 May 2013 21:00:07 +0000 (14:00 -0700)
committerRaph Levien <raph@google.com>
Tue, 14 May 2013 21:00:07 +0000 (14:00 -0700)
commit01524651cb8f7b97a310bd262f4c792e860e140f
tree933a33b1ddfdbe5bc321c811f165302af303f7ef
parentb3c2b21b5ba30d82938ae2ef93d8120f5fd0cc80
Fix for bug 8911390 RTL text alignment is changed ...

The predicate for detecting whether text was right aligned was missing
some cases - it was correctly sensing RIGHT or OPPOSITE aligned text
in the LTR case, but was missing NORMAL for rtl. This patch just adds
that case.

Change-Id: I06691e7122e1ca91d66299cf0d7ef1f8a476a44b
core/java/android/text/method/Touch.java