[Expressive Battery] Migrate tips card in battery usage to banner message
- Update card preference: Update icon hint color by banner attention level - Remove redundant color token: Use the existing Material yellow as a warning color Bug: 349652542 Test: atest BatteryTipsControllerTest Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled Change-Id: I35730eb4716e9dbd712c22db63490e8bc06fc482
This commit is contained in:
@@ -1459,11 +1459,6 @@
|
||||
<item>ic_battery_tips_warning_icon</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="battery_tips_card_colors" translatable="false">
|
||||
<item>color_accent_selector</item>
|
||||
<item>color_battery_anomaly_app_warning_selector</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The following 4 arrays are for power anomaly tips card. Please keep them the same size. -->
|
||||
<string-array name="power_anomaly_title_ids" translatable="false">
|
||||
<item>battery_tips_settings_summary_brightness</item>
|
||||
|
||||
@@ -168,9 +168,6 @@
|
||||
<!-- Icon tint color for battery usage system icon -->
|
||||
<color name="battery_usage_system_icon_color">?android:attr/textColorPrimary</color>
|
||||
|
||||
<!-- Power anomaly color for icons, button -->
|
||||
<color name="power_anomaly_app_warning_hint_color">#D56E0C</color>
|
||||
|
||||
<!-- UDFPS colors -->
|
||||
<color name="udfps_enroll_icon">#699FF3</color>
|
||||
<color name="udfps_moving_target_fill">#C2D7F7</color>
|
||||
|
||||
Reference in New Issue
Block a user