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

Commit ac4ca84d authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

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

parents 1fbd0ff6 0ff57927
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();
        }
    }