Fix heads up notification corner roundness
Fixes: 188455706 Test: add many huns, corners look correct Change-Id: I219b0615754ccd020fb5a487189a5d4f425f9f24
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