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

Commit eb34ad14 authored by Lyn Han's avatar Lyn Han
Browse files

Set NSSL debug lines to different colors

Bug: 176114165
Test: visual
Change-Id: I856ff9680ee219c049f574faeb2cb9a55eff8150
parent a0334be8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -632,10 +632,15 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable

        if (DEBUG) {
            int y = mTopPadding;
            mDebugPaint.setColor(Color.RED);
            canvas.drawLine(0, y, getWidth(), y, mDebugPaint);

            y = getLayoutHeight();
            mDebugPaint.setColor(Color.YELLOW);
            canvas.drawLine(0, y, getWidth(), y, mDebugPaint);

            y = getHeight() - getEmptyBottomMargin();
            mDebugPaint.setColor(Color.GREEN);
            canvas.drawLine(0, y, getWidth(), y, mDebugPaint);
        }
    }