commit | a418306e08e008da99cef929c48e05d2a101ceaf | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Sun Jan 16 10:43:21 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Tue Jan 25 11:34:46 2011 -0800 |
tree | 840ba68fadf718280a7d5125e08ae4d4eacd0282 | |
parent | f3702e7d41a67e4388a8533647d6a3c6f8ac92be [diff] [blame] |
hardware keyboard support http://b/issue?id=3368141 http://b/issue?id=3368100 Removed duplicate key handling added focus transition from page to url bar once framework bug http://b/issue?id=3381411 is fixed, focus transitions in url bar will be fixed Change-Id: Id5011e78bf70d51a25a4e01cf31d9e6ad95ceab7
diff --git a/src/com/android/browser/PhoneUi.java b/src/com/android/browser/PhoneUi.java index 99fc4a0..4119c29 100644 --- a/src/com/android/browser/PhoneUi.java +++ b/src/com/android/browser/PhoneUi.java
@@ -22,6 +22,7 @@ import android.util.Log; import android.view.ActionMode; import android.view.Gravity; +import android.view.KeyEvent; import android.view.Menu; import android.view.View; import android.view.ViewGroup; @@ -269,4 +270,9 @@ hideFakeTitleBar(); } + @Override + public boolean dispatchKey(int code, KeyEvent event) { + return false; + } + }