Remove the psychic labs feature.
Reverts the UrlInputView to a standard autocomplete
that causes less trouble for IMEs.
bug:5598837
Change-Id: If469d76f4feda88e4a122264a39d317737404578
diff --git a/src/com/android/browser/NavigationBarTablet.java b/src/com/android/browser/NavigationBarTablet.java
index ef29a49..04f372a 100644
--- a/src/com/android/browser/NavigationBarTablet.java
+++ b/src/com/android/browser/NavigationBarTablet.java
@@ -195,7 +195,7 @@
}
private void clearOrClose() {
- if (TextUtils.isEmpty(mUrlInput.getUserText())) {
+ if (TextUtils.isEmpty(mUrlInput.getText())) {
// close
mUrlInput.clearFocus();
} else {
@@ -278,7 +278,7 @@
}
protected void updateSearchMode(boolean userEdited) {
- setSearchMode(!userEdited || TextUtils.isEmpty(mUrlInput.getUserText()));
+ setSearchMode(!userEdited || TextUtils.isEmpty(mUrlInput.getText()));
}
@Override