Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb24c6b5 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed notification shelf not fully visible on lockscreen" into pi-dev

parents 2cfd9fb9 c3457912
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -729,7 +729,7 @@ public class NotificationStackScrollLayout extends ViewGroup
    }

    private void updateAlgorithmLayoutMinHeight() {
        mAmbientState.setLayoutMinHeight(mQsExpanded && !onKeyguard() || isHeadsUpTransition()
        mAmbientState.setLayoutMinHeight(mQsExpanded || isHeadsUpTransition()
                ? getLayoutMinHeight() : 0);
    }

@@ -2453,7 +2453,6 @@ public class NotificationStackScrollLayout extends ViewGroup
            }
            int finalHeight = ExpandableViewState.getFinalActualHeight(lastView);
            int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount();
            finalBottom = Math.min(finalBottom, getHeight());
            if (mAnimateNextBackgroundBottom
                    || mBottomAnimator == null && mCurrentBounds.bottom == finalBottom
                    || mBottomAnimator != null && mEndAnimationRect.bottom == finalBottom) {
@@ -2462,7 +2461,6 @@ public class NotificationStackScrollLayout extends ViewGroup
            } else {
                bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight()
                        - lastView.getClipBottomAmount());
                bottom = Math.min(bottom, getHeight());
            }
        } else {
            top = mTopPadding;
@@ -2475,7 +2473,7 @@ public class NotificationStackScrollLayout extends ViewGroup
            top = Math.max(0, top);
        }
        mBackgroundBounds.top = top;
        mBackgroundBounds.bottom = Math.min(getHeight(), Math.max(bottom, top));
        mBackgroundBounds.bottom = Math.max(bottom, top);
    }

    private ActivatableNotificationView getFirstPinnedHeadsUp() {