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

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

Merge "Fix heads up notification corner roundness" into sc-dev am: e74cc356...

Merge "Fix heads up notification corner roundness" into sc-dev am: e74cc356 am: d3f115f3 am: 19edcd74

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

Change-Id: I90504c0eae7355ef05956981f2fb356745c52621
parents 6241e80b 19edcd74
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()) {