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

Commit c1d1f8c8 authored by Lyn Han's avatar Lyn Han Committed by Automerger Merge Worker
Browse files

Merge "Fix hun-to-shade corner clipping" into sc-dev am: 6fda8023

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14737139

Change-Id: Id74432565124b7a99817a8137843df151c29e924
parents 810ca535 6fda8023
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();