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

Commit 0ff57927 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing wrong panel state being sent to launcher

Bug: 131438091
Test: Verified that swipe-up works during HUN
Change-Id: I4275895c4fd1870f9bf26a7542c5d68e29990fab
parent e587f53c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -722,10 +722,10 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
        }
    }

    public void onPanelExpandedChange(boolean expanded) {
    public void onPanelExpandedChange() {
        updateSlippery();
        mOverviewProxyService.setSystemUiStateFlag(SYSUI_STATE_NOTIFICATION_PANEL_EXPANDED,
                expanded, getContext().getDisplayId());
                mPanelView.isFullyExpanded(), getContext().getDisplayId());
    }

    public void updateStates() {
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ public class PhoneStatusBarView extends PanelBar {
        super.panelExpansionChanged(frac, expanded);
        updateScrimFraction();
        if ((frac == 0 || frac == 1) && mBar.getNavigationBarView() != null) {
            mBar.getNavigationBarView().onPanelExpandedChange(expanded);
            mBar.getNavigationBarView().onPanelExpandedChange();
        }
    }