mxyyiyi a2bdafaf5e [Expressive Battery] Refactor pref with anomaly hint.
- WarningFramePreference & warning_frame_preference.xml is a battery customized layout which looks like a standard Preference layout with an optional app icon & warning chip.
- PowerGaugePreference extends the WarningFramePreference to display the app Preference with optional warning chip in Battery > Battery Usage.
- PowerUsageTimePreference extends the WarningFramePreference to display the usage time with optional warning chip in Battery > Battery Usage > App battery usage.

Bug: 349652542
Test: atest BatteryUsageBreakdownControllerTest PowerGaugePreferenceTest PowerUsageTimeControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I5d22703ccc487c54a2bbbc1d9737b92a2de54ba5
2025-02-13 13:16:10 +08:00
2022-04-14 09:55:36 +00:00
2024-07-30 11:34:24 +08:00
2023-09-28 10:40:22 -07:00
2019-11-25 20:28:35 +09:00
2024-11-28 09:15:16 +00:00
2024-11-22 12:59:43 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%