Merge "Fix hun-to-shade corner clipping" into sc-dev
This commit is contained in:
@@ -358,9 +358,13 @@ public class NotificationShelf extends ActivatableNotificationView implements
|
|||||||
&& anv instanceof ExpandableNotificationRow
|
&& anv instanceof ExpandableNotificationRow
|
||||||
&& ((ExpandableNotificationRow) anv).isHeadsUp();
|
&& ((ExpandableNotificationRow) anv).isHeadsUp();
|
||||||
|
|
||||||
|
final boolean isHunGoingToShade = mAmbientState.isShadeExpanded()
|
||||||
|
&& anv == mAmbientState.getTrackedHeadsUpRow();
|
||||||
|
|
||||||
final boolean shouldUpdateCornerRoundness = viewStart < shelfStart
|
final boolean shouldUpdateCornerRoundness = viewStart < shelfStart
|
||||||
&& !mHostLayoutController.isViewAffectedBySwipe(anv)
|
&& !mHostLayoutController.isViewAffectedBySwipe(anv)
|
||||||
&& !isUnlockedHeadsUp
|
&& !isUnlockedHeadsUp
|
||||||
|
&& !isHunGoingToShade
|
||||||
&& !mAmbientState.isPulsing()
|
&& !mAmbientState.isPulsing()
|
||||||
&& !mAmbientState.isDozing();
|
&& !mAmbientState.isDozing();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user