diff options
author | John Reck <jreck@google.com> | 2011-08-11 11:50:51 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-11 11:50:51 -0700 |
commit | 4cd56b9f51a3fb9477c58d50dcc1b1c239a5005c (patch) | |
tree | ded1079674567d9199990e9634e326bc752b5082 /src/com/android/browser/NavigationBarBase.java | |
parent | 8535c4e1293483c8b48f5870067de4fb918522c9 (diff) | |
parent | 434e9f83e13c0758dcdefe214357fc9cc9f104d5 (diff) | |
download | packages_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.java | 2 |
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(); |