diff options
author | Cary Clark <cary@android.com> | 2010-12-29 12:01:09 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-12-29 12:01:09 -0800 |
commit | 688432f64005a325516d6b0b007bae0434d77272 (patch) | |
tree | 451fa9bccbd3a639dcfbdbfb6accff662e7860a2 | |
parent | 24b5fa48f5c21d81d26ff6257dd66c77bb5434af (diff) | |
parent | 122da932e0fd8a261c9440008306eba0f30693f4 (diff) | |
download | frameworks_base-688432f64005a325516d6b0b007bae0434d77272.zip frameworks_base-688432f64005a325516d6b0b007bae0434d77272.tar.gz frameworks_base-688432f64005a325516d6b0b007bae0434d77272.tar.bz2 |
Merge "defer accelerator keys to hosting application"
-rw-r--r-- | core/java/android/webkit/WebView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 5b24c50..0a165e8 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -4485,6 +4485,11 @@ public class WebView extends AbsoluteLayout + ", " + event + ", unicode=" + event.getUnicodeChar()); } + // don't implement accelerator keys here; defer to host application + if (event.isCtrlPressed()) { + return false; + } + if (mNativeClass == 0) { return false; } |