Fixed an issue where the heads up were not rounded during bypass

When huns are above the shelf, their rounding should not be modified
Currently they are unrounded by the shelf in certain conditions
which didn't unclude the bypass heads up.

Fixes: 192057822
Test: add hun on lockscreen with bypass, observe no wrong rounding
Change-Id: If7abe2417c40381c74e6ea3b802a6a3e144d45b6
This commit is contained in:
Selim Cinek
2021-07-06 19:32:59 +02:00
parent 3899455d37
commit c4316e2f70

View File

@@ -367,6 +367,7 @@ public class NotificationShelf extends ActivatableNotificationView implements
&& !mHostLayoutController.isViewAffectedBySwipe(anv)
&& !isUnlockedHeadsUp
&& !isHunGoingToShade
&& !anv.isAboveShelf()
&& !mAmbientState.isPulsing()
&& !mAmbientState.isDozing();