Merge "Fix heads up notification corner roundness" into sc-dev
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