summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/UrlInputView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/UrlInputView.java')
-rw-r--r--src/com/android/browser/UrlInputView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/UrlInputView.java b/src/com/android/browser/UrlInputView.java
index 9c5d338..7545e6a 100644
--- a/src/com/android/browser/UrlInputView.java
+++ b/src/com/android/browser/UrlInputView.java
@@ -175,7 +175,7 @@ public class UrlInputView extends SuggestiveAutoCompleteTextView
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
- if (BrowserSettings.getInstance().useInstant() &&
+ if (BrowserSettings.getInstance().useInstantSearch() &&
(actionId == EditorInfo.IME_ACTION_NEXT)) {
// When instant is turned on AND the user chooses to complete
// using the tab key, then use the completion rather than the
@@ -298,11 +298,11 @@ public class UrlInputView extends SuggestiveAutoCompleteTextView
}
/*
- * no-op to prevent scrolling of webview when embedded titlebar is edited
+ * no-op to prevent scrolling of webview when embedded titlebar
+ * gets edited
*/
@Override
public boolean requestRectangleOnScreen(Rect rect, boolean immediate) {
return false;
}
-
}