summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2016-11-29 15:34:48 -0800
committer Selim Cinek <cinek@google.com> 2016-12-07 10:35:10 -0800
commit5ea19572afe9955555f73a24f0b18f7eb5727bdf (patch)
treece68a2c8e85303e07e7d8363c949533e094b4a40
parent2b549f4bd436787bd2543812b24add2d8c5b53ee (diff)
Fixed a bug where heads up notifications had no icon
Test: add heads-up notification Bug: 32437839 Change-Id: I44b81a5f16d7d9d12d51b94f7fc4b000878acbd7
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java
index 3423e3bcd7ac..0138ca86c3d3 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java
@@ -417,6 +417,9 @@ public class NotificationShelf extends ActivatableNotificationView {
iconState.scaleY = 1.0f;
iconState.hidden = false;
}
+ if (row.isAboveShelf()) {
+ iconState.hidden = true;
+ }
}
}