Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dd5c04e7 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix battery chip screenshot test instability

This CL contains two changes that fix the battery chip color instability:
1. The colors that are passed into the BatteryMeterView from the BatteryStatusChip are corrected. It should always be black!
2. The BatteryMeterView adjusts its colors automatically when switching the theme from dark to light (and vice versa). A check is added to bypass this automatic color adjustment such that the BatterMeterView always keeps the black color (when it is inside a BatterStatusChip).

Bug: 308605791
Flag: NONE
Test: StatusbarChipsScreenshotTest
Change-Id: I541d282e36a3d4b16de6837fedcc494a671a4ceb
parent a891bc20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment