Merge "Update Settings homepage color role mappings" into main

This commit is contained in:
Marcus Ge
2024-03-12 20:56:49 +00:00
committed by Android (Google) Code Review
4 changed files with 6 additions and 4 deletions

View File

@@ -1289,7 +1289,8 @@ public final class Utils extends com.android.settingslib.Utils {
*/
@ColorInt
public static int getHomepageIconColor(Context context) {
return getColorAttrDefaultColor(context, android.R.attr.textColorPrimary);
return getColorAttrDefaultColor(
context, com.android.internal.R.attr.materialColorOnSurface);
}
/**