Commit 7251ad6a authored by Raph Levien's avatar Raph Levien Committed by The Android Automerger
Browse files

Fix CTS failures due to not including meta state

This is a fix for bug 10210151 (CTS:
android.text.method.cts.BaseKeyListenerTest#testBackspace_withSendKeys
is failing on KLP) and bug 10209348 (CTS:
android.text.method.cts.ArrowKeyMovementMethodTest is failing on KLP).

Various CTS tests were creating raw KeyEvent events no meta state, even
though they were testing key combinations with the meta keys pressed.
In the past, this was masked by bug 8303489, but that is fixed now.

The change simply adds the modifiers to the KeyEvent under test.

Change-Id: I3c97a59a0002dc6340d92179feed1304dbe2d87c
parent f0169c64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment