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

Commit db9af8f2 authored by Lyn Han's avatar Lyn Han
Browse files

Fix heads up notification corner roundness

Fixes: 188455706
Test: add many huns, corners look correct

Change-Id: I219b0615754ccd020fb5a487189a5d4f425f9f24
parent 797ae050
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()) {