summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2016-12-10 02:17:22 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-12-10 02:17:26 +0000
commit55ca7508e66ec9524b3105315a95a978fe9c40b3 (patch)
tree359e64a3eb80566e439f17557e44fbd593a60fc1
parente70c9095b02ec46111c3e3677b43dab1a78e6188 (diff)
parent6598974fdf83bedd7c73f5f6e47327c3ab568d54 (diff)
Merge "Fixed a bug where both icons were visible initially"
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
index 32f8ebbbd539..a6e730d01c33 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
@@ -208,6 +208,7 @@ public class NotificationData {
expandedIcon = null;
throw new IconException("Couldn't create icon: " + ic);
}
+ expandedIcon.setVisibility(View.INVISIBLE);
expandedIcon.setOnVisibilityChangedListener(
newVisibility -> {
if (row != null) {