commit | 47171d85e40b3d89e347f950d157036f6b0c1d8d | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Fri Jan 28 10:34:15 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Fri Jan 28 13:22:04 2011 -0800 |
tree | ea6a24aeb820066851af2be7edba522a5057c912 | |
parent | ba58657f269b289186764c5b9ba4bd42318033d8 [diff] [blame] |
fix focus handling in url input http://b/issue?id=3373046 removed focus updates from focus listener Change-Id: I48fdb39053dce7546038022f7aee671fe97047df
diff --git a/src/com/android/browser/UrlInputView.java b/src/com/android/browser/UrlInputView.java index 3e49c06..23e412d 100644 --- a/src/com/android/browser/UrlInputView.java +++ b/src/com/android/browser/UrlInputView.java
@@ -166,14 +166,16 @@ performFiltering(getText().toString(), 0); showDropDown(); } - } else { - finishInput(null, null, null); } if (mWrappedFocusListener != null) { mWrappedFocusListener.onFocusChange(v, hasFocus); } } + void stopEditing() { + finishInput(null, null, null); + } + public void setUrlInputListener(UrlInputListener listener) { mListener = listener; }