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

Commit 33ae3ff9 authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Automerger Merge Worker
Browse files

Merge "Fixing notifications not visible in split shade after rotations" into...

Merge "Fixing notifications not visible in split shade after rotations" into tm-dev am: 48324b7b am: 8fbd866f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18230545



Change-Id: I2d844604848136ae946bff5373a01d0b082c77df
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4a70e879 8fbd866f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2365,9 +2365,12 @@ public class NotificationPanelViewController extends PanelViewController {
        mScrimController.setQsPosition(qsExpansionFraction, qsPanelBottomY);
        setQSClippingBounds();

        // Only need to notify the notification stack when we're not in split screen mode. If we
        // do, then the notification panel starts scrolling along with the QS.
        if (!mShouldUseSplitNotificationShade) {
        if (mShouldUseSplitNotificationShade) {
            // In split shade we want to pretend that QS are always collapsed so their behaviour and
            // 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);
        }