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

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

Merge "Fix heads up notification corner roundness" into sc-dev

parents 95188f37 db9af8f2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -336,8 +336,13 @@ public class NotificationShelf extends ActivatableNotificationView implements
                ActivatableNotificationView anv =
                        (ActivatableNotificationView) child;

                final boolean isUnlockedHeadsUp = !mAmbientState.isOnKeyguard()
                        && !mAmbientState.isShadeExpanded()
                        && child instanceof ExpandableView
                        && ((ExpandableNotificationRow) child).isHeadsUp();
                if (viewStart < shelfStart
                        && !mHostLayoutController.isViewAffectedBySwipe(anv)
                        && !isUnlockedHeadsUp
                        && !mAmbientState.isPulsing()
                        && !mAmbientState.isDozing()) {