Update Assistant entry points on navigation mode change

Bug: 205917167
Test: manual check

Change-Id: I782938433c17cba6fa26905d117820871ad0bdff
(cherry picked from commit 4cc928b86a)
This commit is contained in:
Devarshi Bhatt
2021-11-09 18:48:58 +00:00
committed by Vinit Nayak
parent bcc3f65352
commit 84127e6c1b

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) {