Add theme component options to settings keywords.

Fixes: 135521048
Test: mp settingsg; search for keywords
Change-Id: Ic2c2827fd5b6eff3b8cc11dc5201fc7c4d55778f
This commit is contained in:
Amin Shaikh
2019-07-02 11:37:57 -04:00
parent b62a45e156
commit be8345e565
3 changed files with 6 additions and 7 deletions

View File

@@ -69,9 +69,7 @@ public class WallpaperPreferenceController extends BasePreferenceController {
public String getKeywords() {
StringBuilder sb = new StringBuilder(mContext.getString(R.string.keywords_wallpaper));
if (areStylesAvailable()) {
// TODO(b/130759285): Create a new string keywords_styles_and_wallpaper
sb.append(", ").append(mContext.getString(R.string.theme_customization_category))
.append(", ").append(mContext.getString(R.string.keywords_dark_ui_mode));
sb.append(", ").append(mContext.getString(R.string.keywords_styles));
}
return sb.toString();
}