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
Loading
Please register or sign in to comment