Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +12 −14 Original line number Diff line number Diff line Loading @@ -2075,7 +2075,6 @@ public class NotificationPanelViewController extends PanelViewController { setQsExpansionEnabled(mAmbientState.getScrollY() == 0); int radius = mScrimCornerRadius; if (visible || !mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { top = (int) Math.min(qsPanelBottomY, notificationTop); bottom = getView().getBottom(); Loading @@ -2083,13 +2082,12 @@ public class NotificationPanelViewController extends PanelViewController { right = getView().getRight(); radius = (int) MathUtils.lerp(mScreenCornerRadius, mScrimCornerRadius, Math.min(top / (float) mScrimCornerRadius, 1f)); } else { } else if (qsPanelBottomY > 0) { // so bounds are empty on lockscreen top = Math.min(qsPanelBottomY, mSplitShadeNotificationsTopPadding); bottom = mNotificationStackScrollLayoutController.getHeight(); left = mNotificationStackScrollLayoutController.getLeft(); right = mNotificationStackScrollLayoutController.getRight(); } } // Fancy clipping for quick settings if (mQs != null) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +12 −14 Original line number Diff line number Diff line Loading @@ -2075,7 +2075,6 @@ public class NotificationPanelViewController extends PanelViewController { setQsExpansionEnabled(mAmbientState.getScrollY() == 0); int radius = mScrimCornerRadius; if (visible || !mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { top = (int) Math.min(qsPanelBottomY, notificationTop); bottom = getView().getBottom(); Loading @@ -2083,13 +2082,12 @@ public class NotificationPanelViewController extends PanelViewController { right = getView().getRight(); radius = (int) MathUtils.lerp(mScreenCornerRadius, mScrimCornerRadius, Math.min(top / (float) mScrimCornerRadius, 1f)); } else { } else if (qsPanelBottomY > 0) { // so bounds are empty on lockscreen top = Math.min(qsPanelBottomY, mSplitShadeNotificationsTopPadding); bottom = mNotificationStackScrollLayoutController.getHeight(); left = mNotificationStackScrollLayoutController.getLeft(); right = mNotificationStackScrollLayoutController.getRight(); } } // Fancy clipping for quick settings if (mQs != null) { Loading