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

Commit c8007c59 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where the icon would dissappear

If we were inflated on the lockscreen as the only child
the icon would dissappear.

Test: send multiple messages, kill systemui, observe
Change-Id: I81c433292f6839920b99ac124ca1dd17eb6e962e
parent 414ad334
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2018,7 +2018,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {

    @Override
    public boolean isAboveShelf() {
        return mIsPinned || mHeadsupDisappearRunning || (mIsHeadsUp && mAboveShelf);
        return !isOnKeyguard()
                && (mIsPinned || mHeadsupDisappearRunning || (mIsHeadsUp && mAboveShelf));
    }

    public void setShowAmbient(boolean showAmbient) {