Merge "Fix hun-to-shade corner clipping" into sc-dev am: 6fda802363
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14737139 Change-Id: I89a7dda36a3814eeb4e5e50e384eb1a46ca26585
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user