Merge "Fix heads up notification corner roundness" into sc-dev am: e74cc3561e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14633970 Change-Id: I4d9d03cf15ebbf3c3d3173746145c98c0f7f7270
This commit is contained in:
@@ -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()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user