Merging from ub-launcher3-master @ build 6668015 am: 8a27ba85bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/12122898
Change-Id: I64ebfa10c5e54e2a618542654c97f22ff2f4ba77
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d12b05e..55de455 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -210,7 +210,6 @@
<!-- Title for a section of a style preview screen that shows a preview of the style color and icons. [CHAR_LIMIT=30]-->
<string name="theme_preview_icons_section_title">Color / Icons</string>
- <!-- Bottom sheet dialog which displaying different theme's info. [CHAR_LIMIT=80]
- (eg, Fonts, icons, shape, color will change to the "Default" Style) -->
- <string name="style_info_description">Fonts, icons, shape, color will change to the <xliff:g name="style_name">%1$s</xliff:g> Style</string>
+ <!-- Bottom sheet dialog which displaying different theme's info. [CHAR_LIMIT=80] -->
+ <string name="style_info_description">Preview of font, icons, app shape, and color</string>
</resources>
diff --git a/src/com/android/customization/widget/ThemeInfoView.java b/src/com/android/customization/widget/ThemeInfoView.java
index b21b96f..9eb0320 100644
--- a/src/com/android/customization/widget/ThemeInfoView.java
+++ b/src/com/android/customization/widget/ThemeInfoView.java
@@ -58,8 +58,7 @@
ThemeBundle.PreviewInfo previewInfo = selectedTheme.getPreviewInfo();
if (previewInfo != null) {
- mTitle.setText(getContext().getString(
- R.string.style_info_description, selectedTheme.getTitle()));
+ mTitle.setText(getContext().getString(R.string.style_info_description));
if (previewInfo.headlineFontFamily != null) {
mTitle.setTypeface(previewInfo.headlineFontFamily);
mFontPreviewTextView.setTypeface(previewInfo.headlineFontFamily);