diff options
author | Steve Block <steveblock@google.com> | 2009-07-31 08:38:58 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-08-06 13:07:47 +0100 |
commit | 4d055a532447cd1adfeac2abebdf365b38fb8a15 (patch) | |
tree | 3bd0f724f1e2209b271d3fa1e0959defc318f7ab /src/com/android/browser | |
parent | 2bc69918d97a767a02132090e58718077381ba1a (diff) | |
download | packages_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.java | 3 |
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)) { |