Fix issue with slippery flag not being updated correctly

- The ordering was such that the disabled state was updated before
  onPanelExpandedChange which was masking the issue by updating the
  slippery flag, but when unlocking from the screen off state, we get
  onPanelExpandedChange first, and disabled state after (which doesn't
  update the slippery state).

Bug: 80204751
Test: Turn screen off, unlock with fingerprint, swipe up
Change-Id: I88f1bc6a983ec0d693844724d8b9d4bf11a0fd31
This commit is contained in:
Winson Chung
2018-05-23 18:24:13 -07:00
parent 062c050d01
commit 1be4c7e3f5

View File

@@ -604,6 +604,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
}
updateNavButtonIcons();
updateSlippery();
}
public void updateNavButtonIcons() {