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

Commit aef0cde4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix b/242252080: Add padding space on the top of the battery chart"

parents 73842980 c931670a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -529,7 +529,8 @@ public class BatteryChartView extends AppCompatImageView implements View.OnClick
        final float trapezoidBottom =
                getHeight() - mIndent.bottom - mDividerHeight - mDividerWidth
                        - mTrapezoidVOffset;
        final float availableSpace = trapezoidBottom - mDividerWidth * .5f - mIndent.top;
        final float availableSpace =
                trapezoidBottom - mDividerWidth * .5f - mIndent.top - mTrapezoidVOffset;
        final float unitHeight = availableSpace / 100f;
        // Draws all trapezoid shapes into the canvas.
        final Path trapezoidPath = new Path();