summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/NavigationBarBase.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-11 11:50:51 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-11 11:50:51 -0700
commit4cd56b9f51a3fb9477c58d50dcc1b1c239a5005c (patch)
treeded1079674567d9199990e9634e326bc752b5082 /src/com/android/browser/NavigationBarBase.java
parent8535c4e1293483c8b48f5870067de4fb918522c9 (diff)
parent434e9f83e13c0758dcdefe214357fc9cc9f104d5 (diff)
downloadpackages_apps_Browser-4cd56b9f51a3fb9477c58d50dcc1b1c239a5005c.zip
packages_apps_Browser-4cd56b9f51a3fb9477c58d50dcc1b1c239a5005c.tar.gz
packages_apps_Browser-4cd56b9f51a3fb9477c58d50dcc1b1c239a5005c.tar.bz2
Merge "Strip http://(www.)? from url input"
Diffstat (limited to 'src/com/android/browser/NavigationBarBase.java')
-rw-r--r--src/com/android/browser/NavigationBarBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/NavigationBarBase.java b/src/com/android/browser/NavigationBarBase.java
index 724dcc8..e6eed18 100644
--- a/src/com/android/browser/NavigationBarBase.java
+++ b/src/com/android/browser/NavigationBarBase.java
@@ -167,7 +167,7 @@ public class NavigationBarBase extends LinearLayout implements OnClickListener,
if (mUrlInput.getText().length() == 0) {
Tab currentTab = mUiController.getTabControl().getCurrentTab();
if (currentTab != null) {
- mUrlInput.setText(currentTab.getUrl(), false);
+ setDisplayTitle(currentTab.getUrl());
}
}
mBaseUi.suggestHideTitleBar();