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

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

Merge "Fix hun-to-shade corner clipping" into sc-dev

parents f010ed63 1988f9e0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -358,9 +358,13 @@ public class NotificationShelf extends ActivatableNotificationView implements
                && anv instanceof ExpandableNotificationRow
                && ((ExpandableNotificationRow) anv).isHeadsUp();

        final boolean isHunGoingToShade = mAmbientState.isShadeExpanded()
                && anv == mAmbientState.getTrackedHeadsUpRow();

        final boolean shouldUpdateCornerRoundness = viewStart < shelfStart
                && !mHostLayoutController.isViewAffectedBySwipe(anv)
                && !isUnlockedHeadsUp
                && !isHunGoingToShade
                && !mAmbientState.isPulsing()
                && !mAmbientState.isDozing();