OSDN Git Service

Fix: Insertion handle can be moved just by tapping.
authorKeisuke Kuroyanagi <ksk@google.com>
Mon, 18 May 2015 05:49:29 +0000 (14:49 +0900)
committerKeisuke Kuroyanagi <ksk@google.com>
Mon, 18 May 2015 05:49:29 +0000 (14:49 +0900)
commitbc89a5ce34c676b6baa37253589989b772010f35
tree094a1405c1a99804db2e789a64feaa718c8249fd
parentaee0c2ce39fe92716bb76d33d6f8cc8789467cf6
Fix: Insertion handle can be moved just by tapping.

Horizontal poistion is passed to updatePosition() without
adding getHorizontalOffset(). The position is wrong for the
insertion handle; thus, the handle is moved just by tapping
on it.

Bug: 20923263
Change-Id: Ie867ebd9e6b682057b73373fefb7b2baf45caef9
core/java/android/widget/Editor.java