Fixing wrong panel state being sent to launcher
Bug: 131438091 Test: Verified that swipe-up works during HUN Change-Id: I4275895c4fd1870f9bf26a7542c5d68e29990fab
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user