summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-02-23 17:36:24 -0500
committer Evan Laird <evanlaird@google.com> 2024-02-27 18:03:55 -0500
commitc2044fe50d42b85ba4564ac69e864c01d49346cc (patch)
tree9d452cb41bcabd5fbcc165d43c385d351bcd0bcd /libs/hwui/FrameInfoVisualizer.cpp
parent0ffc00620acc59dacb32d0e8262b7ff2106747b1 (diff)
[Sb] Implement the unified battery inside of BatteryMeterView
BatteryMeterView is a very old class, with logs of tangled behavior. It isn't feasible to build out a completely separate LinearLayout subclass that can be swapped in place of the existing code in order to pull off a true refactor, since there is other layout code that would break. So, this CL attemps to split up the internals of the BatteryMeterView into two distinct cases: newStatusBarIcons() and !newStatusBarIcons(). Where possible,the logic is completely forked into a legacy impl and a modern one. Test: BatteryMeterViewTest Bug: 314812750 Flag: ACONFIG com.android.settingslib.flags.new_status_bar_icons DEVELOPMENT Change-Id: I979096af1eb2b9725a87ccf008fb0f236281a10f
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions