diff options
author | John Reck <jreck@google.com> | 2010-12-02 16:09:14 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-12-03 12:52:31 -0800 |
commit | ef0742696d31a3661414089446ff9a3ddd786639 (patch) | |
tree | abfa278fee21281254f636653c7569de560ee855 /src/com/android/browser/TitleBar.java | |
parent | 89f73c1146f474641881e3e20c77cfbfc18fa313 (diff) | |
download | packages_apps_browser-ef0742696d31a3661414089446ff9a3ddd786639.zip packages_apps_browser-ef0742696d31a3661414089446ff9a3ddd786639.tar.gz packages_apps_browser-ef0742696d31a3661414089446ff9a3ddd786639.tar.bz2 |
Change homepage setting handling
Bug: 3247095
Tweaks the setting of the homepage setting. Replaces the "set to..."
dialog with 2 buttons, and user can now enter a blank url to get a
blank page with title "New Tab".
Change-Id: I95bcfcd241db4b9efbde645100d2fd44c980e061
Diffstat (limited to 'src/com/android/browser/TitleBar.java')
-rw-r--r-- | src/com/android/browser/TitleBar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java index 6dabd76..bdef82e 100644 --- a/src/com/android/browser/TitleBar.java +++ b/src/com/android/browser/TitleBar.java @@ -320,13 +320,13 @@ public class TitleBar extends TitleBarBase { /** * Update the text displayed in the title bar. - * @param title String to display. If null, the loading string will be + * @param title String to display. If null, the new tab string will be * shown. */ @Override void setDisplayTitle(String title) { if (title == null) { - mTitle.setText(R.string.title_bar_loading); + mTitle.setText(R.string.new_tab); } else { if (mInVoiceMode) { // Add two spaces. The second one will be replaced with an |