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

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

Merge "Fixes clipping of icons in shelf."

parents d68ee776 ab3ad1dd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -405,6 +405,8 @@ public class NotificationShelf extends ActivatableNotificationView implements
            int top = (int) (maxTop - shelfIconPosition);
            Rect clipRect = new Rect(0, top, icon.getWidth(), Math.max(top, icon.getHeight()));
            icon.setClipBounds(clipRect);
        } else {
            icon.setClipBounds(null);
        }
    }