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

Commit 4d298503 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Set NSSL debug lines to different colors"

parents 9b59c503 eb34ad14
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);
        }
    }