OSDN Git Service

Revert "Take the input device into account for meta state"
authorRaph Levien <raph@google.com>
Mon, 16 Sep 2013 22:19:25 +0000 (15:19 -0700)
committerRaph Levien <raph@google.com>
Wed, 18 Sep 2013 18:03:02 +0000 (11:03 -0700)
commit3954fd9a05232cb6f7fc52aa49a0b34c1539028a
tree4e61bf1e4c957091336f037849ffa100142977cb
parent6b2b845948f1f43c0e407744c9400d831a2e0e0c
Revert "Take the input device into account for meta state"

This reverts commit 8a1597b39632956cdbcb6b76874ccca786047d4c. That
commit broke some of the handling of meta state, which in turn caused
CTS test failures, notably bug 10210151 (CTS:
android.text.method.cts.BaseKeyListenerTest#testBackspace_withSendKeys
is failing on KLP).

So this revert fixes those test failures, but leaves bug 8303489
(Pressing shift on the hardware keyboard messes with unrelated
keypresses, including virtual ones) still present. We'll plan to
address that in a future release.

Change-Id: Iea42c643b6d08f33cbd2ed1747e8de3b5f8116a6
api/current.txt
core/java/android/text/method/ArrowKeyMovementMethod.java
core/java/android/text/method/BaseKeyListener.java
core/java/android/text/method/BaseMovementMethod.java
core/java/android/text/method/DialerKeyListener.java
core/java/android/text/method/MetaKeyKeyListener.java
core/java/android/text/method/NumberKeyListener.java
core/java/android/text/method/QwertyKeyListener.java