Merge "Fix flickering when receiving notification"
This commit is contained in:
@@ -399,7 +399,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
|
||||
private final ViewOutlineProvider mOutlineProvider = new ViewOutlineProvider() {
|
||||
@Override
|
||||
public void getOutline(View view, Outline outline) {
|
||||
if (mAmbientState.isDarkAtAll() && !mAmbientState.isFullyDark() || !mShowDarkShelf) {
|
||||
if (mAmbientState.isDarkAtAll() || !mShowDarkShelf) {
|
||||
outline.setRoundRect(mBackgroundAnimationRect, mCornerRadius);
|
||||
} else {
|
||||
ViewOutlineProvider.BACKGROUND.getOutline(view, outline);
|
||||
|
||||
Reference in New Issue
Block a user