From d3c523f4d8be3f51833f21ac11df20ba907a1e85 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Wed, 31 May 2017 17:49:03 -0700 Subject: [PATCH] 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 --- .../android/systemui/statusbar/stack/StackScrollAlgorithm.java | 1 + 1 file changed, 1 insertion(+) 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 12a8783becf25..5c10e7ed40701 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 @@ 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()) {