summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-07-31 08:38:58 +0100
committerSteve Block <steveblock@google.com>2009-08-06 13:07:47 +0100
commit4d055a532447cd1adfeac2abebdf365b38fb8a15 (patch)
tree3bd0f724f1e2209b271d3fa1e0959defc318f7ab /src/com/android/browser
parent2bc69918d97a767a02132090e58718077381ba1a (diff)
downloadpackages_apps_Browser-4d055a532447cd1adfeac2abebdf365b38fb8a15.zip
packages_apps_Browser-4d055a532447cd1adfeac2abebdf365b38fb8a15.tar.gz
packages_apps_Browser-4d055a532447cd1adfeac2abebdf365b38fb8a15.tar.bz2
Fix for bug 2024912. Sets title in browser Website Settings menu.
Diffstat (limited to 'src/com/android/browser')
-rw-r--r--src/com/android/browser/WebsiteSettingsActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/WebsiteSettingsActivity.java b/src/com/android/browser/WebsiteSettingsActivity.java
index 89e5963..6e1ea0a 100644
--- a/src/com/android/browser/WebsiteSettingsActivity.java
+++ b/src/com/android/browser/WebsiteSettingsActivity.java
@@ -321,6 +321,8 @@ public class WebsiteSettingsActivity extends ListActivity {
icon = (ImageView) view.findViewById(R.id.icon);
if (mCurrentSite == null) {
+ setTitle(getString(R.string.pref_extras_website_settings));
+
Site site = getItem(position);
title.setText(site.getPrettyTitle());
subtitle.setText(site.getPrettyOrigin());
@@ -334,6 +336,7 @@ public class WebsiteSettingsActivity extends ListActivity {
// so that we can get it in onItemClick()
view.setTag(site);
} else {
+ setTitle(mCurrentSite.getPrettyTitle());
icon.setVisibility(View.GONE);
String origin = mCurrentSite.getOrigin();
switch (mCurrentSite.getFeatureByIndex(position)) {