am a30c12a1: am 4a88013a: resolved conflicts for merge of bf1439c5 to stage-korg-master

* commit 'a30c12a18326ed4d608382cd4f970a6e15a58bf5':
  Preserve flags field of event passed to injectKeyEvent()