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

Commit 4da9ebbb authored by Sunny Goyal's avatar Sunny Goyal Committed by android-build-merger
Browse files

Merge "Fixing wrong panel state being sent to launcher" into qt-dev

am: ac4ca84d

Change-Id: I967f2f75357ebbf4494157713f52eba02fd79e7c
parents 41773ab0 ac4ca84d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -714,10 +714,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();
        }
    }