OSDN Git Service

Fixed an issue where heads up where invisible in qs edit
authorSelim Cinek <cinek@google.com>
Thu, 1 Jun 2017 00:49:03 +0000 (17:49 -0700)
committerSelim Cinek <cinek@google.com>
Thu, 1 Jun 2017 00:49:03 +0000 (17:49 -0700)
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

packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java

index 12a8783..5c10e7e 100644 (file)
@@ -413,6 +413,7 @@ public class StackScrollAlgorithm {
                 if (i == 0 && row.isAboveShelf()) {
                     // the first hun can't get off screen.
                     clampHunToMaxTranslation(ambientState, row, childState);
+                    childState.hidden = false;
                 }
             }
             if (row.isPinned()) {