From 10186a9488091343231bb1ef40f4791a7e09b4c0 Mon Sep 17 00:00:00 2001 From: Marcelo Arteiro Date: Wed, 12 Apr 2023 12:04:18 +0000 Subject: [PATCH] Adding Missing theme attributes on DeviceDefault materialColorPrimary, materialColorSecondary and materialColorTertiary Fix: 275729287 Test: atest DeviceDefaultThemeTest Change-Id: I2fe0e63fa8938020f15d0f05ad15a7a0d217e343 --- core/res/res/values/attrs.xml | 10 +- core/res/res/values/symbols.xml | 6 +- .../res/res/values/themes_device_defaults.xml | 260 +++++++++++------- 3 files changed, 165 insertions(+), 111 deletions(-) diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index cd25726ac7306..7de36a7113aea 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -1335,7 +1335,15 @@ - + + + + + + diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index b93a786952072..7f03e35a33e34 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -5035,11 +5035,9 @@ - - @@ -5047,7 +5045,9 @@ - + + + diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index 706845360bf47..a2d54b28dace7 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -270,11 +270,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -282,6 +280,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -933,11 +940,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -945,6 +950,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -1135,11 +1144,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -1147,6 +1154,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -1321,11 +1332,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -1333,6 +1342,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -1978,11 +1996,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -1990,6 +2006,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -2298,11 +2318,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -2310,6 +2328,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -2483,11 +2505,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -2495,6 +2515,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -3056,11 +3084,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -3068,6 +3094,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -3229,11 +3259,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -3241,6 +3269,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -3306,11 +3337,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -3318,6 +3347,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -3594,11 +3628,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -3606,6 +3638,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -4063,11 +4102,9 @@ easier. @color/system_on_tertiary_light @color/system_surface_dim_light @color/system_surface_bright_light - @color/system_secondary_light @color/system_on_error_light @color/system_surface_light @color/system_surface_container_high_light - @color/system_tertiary_light @color/system_surface_container_highest_light @color/system_on_surface_variant_light @color/system_outline_light @@ -4075,7 +4112,9 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - + @color/system_primary_light + @color/system_secondary_light + @color/system_tertiary_light @@ -4309,11 +4348,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -4321,6 +4358,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark @@ -4827,11 +4870,9 @@ easier. @color/system_on_tertiary_dark @color/system_surface_dim_dark @color/system_surface_bright_dark - @color/system_secondary_dark @color/system_on_error_dark @color/system_surface_dark @color/system_surface_container_high_dark - @color/system_tertiary_dark @color/system_surface_container_highest_dark @color/system_on_surface_variant_dark @color/system_outline_dark @@ -4839,6 +4880,9 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark + @color/system_primary_dark + @color/system_secondary_dark + @color/system_tertiary_dark