summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2018-05-23 18:24:13 -0700
committer Winson Chung <winsonc@google.com> 2018-05-24 03:01:13 +0000
commit1be4c7e3f5e18c84bc25d2ced38ce21449356933 (patch)
tree4ed734900a479663c366082966820bbdb35c6737
parent062c050d01972035b1d758a9649714ac879dea8d (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
index a907bdd32521..49f9ee2b1c83 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
@@ -604,6 +604,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
}
updateNavButtonIcons();
+ updateSlippery();
}
public void updateNavButtonIcons() {