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 anv =
|
||||||
(ActivatableNotificationView) child;
|
(ActivatableNotificationView) child;
|
||||||
|
|
||||||
|
final boolean isUnlockedHeadsUp = !mAmbientState.isOnKeyguard()
|
||||||
|
&& !mAmbientState.isShadeExpanded()
|
||||||
|
&& child instanceof ExpandableView
|
||||||
|
&& ((ExpandableNotificationRow) child).isHeadsUp();
|
||||||
if (viewStart < shelfStart
|
if (viewStart < shelfStart
|
||||||
&& !mHostLayoutController.isViewAffectedBySwipe(anv)
|
&& !mHostLayoutController.isViewAffectedBySwipe(anv)
|
||||||
|
&& !isUnlockedHeadsUp
|
||||||
&& !mAmbientState.isPulsing()
|
&& !mAmbientState.isPulsing()
|
||||||
&& !mAmbientState.isDozing()) {
|
&& !mAmbientState.isDozing()) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user