OSDN Git Service

Only send a direction key if we are not in touch mode.
authorLeon Scroggins <scroggo@google.com>
Fri, 28 Jan 2011 16:25:53 +0000 (11:25 -0500)
committerLeon Scroggins <scroggo@google.com>
Fri, 28 Jan 2011 16:26:45 +0000 (11:26 -0500)
commit572ba782021389b30c61ce31e8a193c1de1d16df
treec864ecc4ee7b6011a96da115aaa6af37097eb52a
parentc38b7c820af52c4d5f6f51c750136d18d9897e5e
Only send a direction key if we are not in touch mode.

Bug:3395047

requestFocus() sends a direction key, in case the user
focused the WebView using that direction key.  However,
in touch mode, the user used touch to give focus, so
do not send a directional key.

Change-Id: I052d30639d1caefd39077b0498a1e0d21c157a9a
core/java/android/webkit/WebView.java