Fixed a bug where heads up notifications had no icon

Test: add heads-up notification
Bug: 32437839
Change-Id: I44b81a5f16d7d9d12d51b94f7fc4b000878acbd7
This commit is contained in:
Selim Cinek
2016-11-29 15:34:48 -08:00
parent 2b549f4bd4
commit 5ea19572af

View File

@@ -417,6 +417,9 @@ public class NotificationShelf extends ActivatableNotificationView {
iconState.scaleY = 1.0f;
iconState.hidden = false;
}
if (row.isAboveShelf()) {
iconState.hidden = true;
}
}
}