summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2023-11-08 15:27:09 +0100
committer Johannes Gallmann <gallmann@google.com> 2023-11-10 10:19:09 +0000
commitdd5c04e7a8d3dcb246479dd86186d9adbbd336d9 (patch)
treec871bf971a5c02b4379f94e7d63786a43f472adb /libs/hwui/FrameInfoVisualizer.cpp
parenta891bc207743712bc33ee1c0e5c73667e2328981 (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions