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
2 files changed