summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/TitleBarBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/TitleBarBase.java')
-rw-r--r--src/com/android/browser/TitleBarBase.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/browser/TitleBarBase.java b/src/com/android/browser/TitleBarBase.java
index ae11038bd..de44306b0 100644
--- a/src/com/android/browser/TitleBarBase.java
+++ b/src/com/android/browser/TitleBarBase.java
@@ -493,13 +493,6 @@ public class TitleBarBase extends RelativeLayout
}
protected void setFocusState(boolean focus) {
- if (focus) {
- updateSearchMode(false);
- }
- }
-
- protected void updateSearchMode(boolean userEdited) {
- setSearchMode(!userEdited || TextUtils.isEmpty(mUrlInput.getUserText()));
}
protected void setSearchMode(boolean voiceSearchEnabled) {}
@@ -523,8 +516,6 @@ public class TitleBarBase extends RelativeLayout
@Override
public void onTextChanged(String newText) {
if (mUrlInput.hasFocus()) {
- // check if input field is empty and adjust voice search state
- updateSearchMode(true);
// clear voice mode when user types
setInVoiceMode(false, null);
}