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

Commit 9c36b2e9 authored by Christian Göllner's avatar Christian Göllner
Browse files

Split-shade: show status bar earlier when closing shade

There was already a mechanism do start showing the status bar given a
certain shade expansion, but it was disabled for split shade.
This would make the status bar only show after the shade had been fully
closed.

I removed the restriction, and now it works as expected.

Test: Manually on-device. See video in comment.
Fixes: 245613188
Change-Id: I0796881bc868ebdcc57f3b52ac57ac584b16f5bd
parent ee0c2b11
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -4141,9 +4141,7 @@ public final class NotificationPanelViewController implements Dumpable {
    }

    private void updateStatusBarIcons() {
        boolean showIconsWhenExpanded =
                (isPanelVisibleBecauseOfHeadsUp() || mIsFullWidth)
                        && getExpandedHeight() < getOpeningHeight();
        boolean showIconsWhenExpanded = getExpandedHeight() < getOpeningHeight();
        if (showIconsWhenExpanded && isOnKeyguard()) {
            showIconsWhenExpanded = false;
        }
@@ -4210,7 +4208,7 @@ public final class NotificationPanelViewController implements Dumpable {
                && mHeadsUpAppearanceController.shouldBeVisible()) {
            return false;
        }
        return !mIsFullWidth || !mShowIconsWhenExpanded;
        return !mShowIconsWhenExpanded;
    }

    private void onQsPanelScrollChanged(int scrollY) {