commit | 580ebe1d4724f3ab99ab81196b6ba102f95fff28 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Wed May 31 17:49:03 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 01 20:26:49 2017 +0000 |
tree | 822824bac9227c5deb282b6bea9fcab0c091c664 | |
parent | 179d6fbe08990d4861783335b9b3cd868746bb11 [diff] |
Fixed an issue where heads up where invisible in qs edit Because they were in the shelf, they were set to hidden. Test: add hun while in qs edit mode, observe that it's visible Change-Id: I2db88f0731be23bff35707a12fbe5da1eb6903cf Fixes: 62237986 (cherry picked from commit d3c523f4d8be3f51833f21ac11df20ba907a1e85)
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java index 12a8783..5c10e7e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
@@ -413,6 +413,7 @@ if (i == 0 && row.isAboveShelf()) { // the first hun can't get off screen. clampHunToMaxTranslation(ambientState, row, childState); + childState.hidden = false; } } if (row.isPinned()) {