Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6598974f authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where both icons were visible initially

Because the default state was visible the icon visibilities
were never updated.

Change-Id: I8c54a204e9cbf304d53d82b4dbb22acf3f7d487d
Test: add fresh notificaitions, adb shell killall com.android.systemui, observe no double notification when added from shelf
Bug: 32437839
parent d5ab645f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -208,6 +208,7 @@ public class NotificationData {
                expandedIcon = null;
                expandedIcon = null;
                throw new IconException("Couldn't create icon: " + ic);
                throw new IconException("Couldn't create icon: " + ic);
            }
            }
            expandedIcon.setVisibility(View.INVISIBLE);
            expandedIcon.setOnVisibilityChangedListener(
            expandedIcon.setOnVisibilityChangedListener(
                    newVisibility -> {
                    newVisibility -> {
                        if (row != null) {
                        if (row != null) {