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

Commit 43800464 authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Android (Google) Code Review
Browse files

Merge "Removing unnecessary QuickSettings clip bounds in split shade" into sc-dev

parents 166400b0 99472252
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -2060,7 +2060,8 @@ public class NotificationPanelViewController extends PanelViewController {
        int bottom = 0;
        int left = 0;
        int right = 0;
        boolean visible = qsFraction > 0 || qsPanelBottomY > 0;
        boolean visible = (qsFraction > 0 || qsPanelBottomY > 0)
                && !mShouldUseSplitNotificationShade;
        int radius = mScrimCornerRadius;
        if (visible || !mShouldUseSplitNotificationShade) {
            if (!mShouldUseSplitNotificationShade) {
@@ -2079,11 +2080,11 @@ public class NotificationPanelViewController extends PanelViewController {
            }
        }

        if (!mShouldUseSplitNotificationShade) {
        // Fancy clipping for quick settings
        if (mQs != null) {
            mQs.setFancyClipping(top, bottom, radius, visible);
        }
        if (!mShouldUseSplitNotificationShade) {
            // The padding on this area is large enough that we can use a cheaper clipping strategy
            mKeyguardStatusAreaClipBounds.set(left, top, right, bottom);
            mKeyguardStatusViewController.setClipBounds(visible