diff options
author | Cary Clark <cary@android.com> | 2011-02-09 17:15:10 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-09 17:15:10 -0800 |
commit | 83a7b963f0070022d98853ea1fb4fa5c81cc5e79 (patch) | |
tree | 1b50afa8ea248965488b7a136641272df7021840 | |
parent | 711734a2f8d7529df0ed1bce36da651fc835c144 (diff) | |
parent | 1477b8f34d2239e58f1537d52654689a813bcfef (diff) | |
download | frameworks_base-83a7b963f0070022d98853ea1fb4fa5c81cc5e79.zip frameworks_base-83a7b963f0070022d98853ea1fb4fa5c81cc5e79.tar.gz frameworks_base-83a7b963f0070022d98853ea1fb4fa5c81cc5e79.tar.bz2 |
Merge "only allow dpad center for key long press"
-rw-r--r-- | core/java/android/webkit/WebView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 9ac91ac..de263b1 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -4656,7 +4656,7 @@ public class WebView extends AbsoluteLayout return false; } - if (isEnterActionKey(keyCode)) { + if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { switchOutDrawHistory(); boolean wantsKeyEvents = nativeCursorNodePointer() == 0 || nativeCursorWantsKeyEvents(); |