Merge "Fixing notifications not visible in split shade after rotations" into tm-dev am: 48324b7bc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18230545 Change-Id: I1b4a59f107c3c6fb6f8cc5022dc60939ce473c9e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2365,9 +2365,12 @@ public class NotificationPanelViewController extends PanelViewController {
|
|||||||
mScrimController.setQsPosition(qsExpansionFraction, qsPanelBottomY);
|
mScrimController.setQsPosition(qsExpansionFraction, qsPanelBottomY);
|
||||||
setQSClippingBounds();
|
setQSClippingBounds();
|
||||||
|
|
||||||
// Only need to notify the notification stack when we're not in split screen mode. If we
|
if (mShouldUseSplitNotificationShade) {
|
||||||
// do, then the notification panel starts scrolling along with the QS.
|
// In split shade we want to pretend that QS are always collapsed so their behaviour and
|
||||||
if (!mShouldUseSplitNotificationShade) {
|
// interactions don't influence notifications as they do in portrait. But we want to set
|
||||||
|
// 0 explicitly in case we're rotating from non-split shade with QS expansion of 1.
|
||||||
|
mNotificationStackScrollLayoutController.setQsExpansionFraction(0);
|
||||||
|
} else {
|
||||||
mNotificationStackScrollLayoutController.setQsExpansionFraction(qsExpansionFraction);
|
mNotificationStackScrollLayoutController.setQsExpansionFraction(qsExpansionFraction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user