Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +6 −5 Original line number Original line Diff line number Diff line Loading @@ -2060,7 +2060,8 @@ public class NotificationPanelViewController extends PanelViewController { int bottom = 0; int bottom = 0; int left = 0; int left = 0; int right = 0; int right = 0; boolean visible = qsFraction > 0 || qsPanelBottomY > 0; boolean visible = (qsFraction > 0 || qsPanelBottomY > 0) && !mShouldUseSplitNotificationShade; int radius = mScrimCornerRadius; int radius = mScrimCornerRadius; if (visible || !mShouldUseSplitNotificationShade) { if (visible || !mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { Loading @@ -2079,11 +2080,11 @@ public class NotificationPanelViewController extends PanelViewController { } } } } if (!mShouldUseSplitNotificationShade) { // Fancy clipping for quick settings // Fancy clipping for quick settings if (mQs != null) { if (mQs != null) { mQs.setFancyClipping(top, bottom, radius, visible); mQs.setFancyClipping(top, bottom, radius, visible); } } if (!mShouldUseSplitNotificationShade) { // The padding on this area is large enough that we can use a cheaper clipping strategy // The padding on this area is large enough that we can use a cheaper clipping strategy mKeyguardStatusAreaClipBounds.set(left, top, right, bottom); mKeyguardStatusAreaClipBounds.set(left, top, right, bottom); mKeyguardStatusViewController.setClipBounds(visible mKeyguardStatusViewController.setClipBounds(visible Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +6 −5 Original line number Original line Diff line number Diff line Loading @@ -2060,7 +2060,8 @@ public class NotificationPanelViewController extends PanelViewController { int bottom = 0; int bottom = 0; int left = 0; int left = 0; int right = 0; int right = 0; boolean visible = qsFraction > 0 || qsPanelBottomY > 0; boolean visible = (qsFraction > 0 || qsPanelBottomY > 0) && !mShouldUseSplitNotificationShade; int radius = mScrimCornerRadius; int radius = mScrimCornerRadius; if (visible || !mShouldUseSplitNotificationShade) { if (visible || !mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { if (!mShouldUseSplitNotificationShade) { Loading @@ -2079,11 +2080,11 @@ public class NotificationPanelViewController extends PanelViewController { } } } } if (!mShouldUseSplitNotificationShade) { // Fancy clipping for quick settings // Fancy clipping for quick settings if (mQs != null) { if (mQs != null) { mQs.setFancyClipping(top, bottom, radius, visible); mQs.setFancyClipping(top, bottom, radius, visible); } } if (!mShouldUseSplitNotificationShade) { // The padding on this area is large enough that we can use a cheaper clipping strategy // The padding on this area is large enough that we can use a cheaper clipping strategy mKeyguardStatusAreaClipBounds.set(left, top, right, bottom); mKeyguardStatusAreaClipBounds.set(left, top, right, bottom); mKeyguardStatusViewController.setClipBounds(visible mKeyguardStatusViewController.setClipBounds(visible Loading