Merge "Update Assistant entry points on navigation mode change" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-11 20:55:20 +00:00
committed by Android (Google) Code Review

View File

@@ -1518,6 +1518,9 @@ public class NavigationBar implements View.OnAttachStateChangeListener,
@Override
public void onNavigationModeChanged(int mode) {
mNavBarMode = mode;
// update assistant entry points on system navigation radio button click
updateAssistantEntrypoints();
if (!QuickStepContract.isGesturalMode(mode)) {
// Reset the override alpha
if (getBarTransitions() != null) {