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

Commit 9635cf3d authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where the expand icon could show but nothing happens

Test: add notification with an icon and short text, HUN
Change-Id: Iefcaf262c5147fd7f580fcf1369e66dc369efc99
Fixes: 27449651
parent c0ac4af1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1199,10 +1199,10 @@ public class NotificationContentView extends FrameLayout {
        if (mExpandedChild != null && mExpandedChild.getHeight() != 0) {
            if ((!mIsHeadsUp && !mHeadsUpAnimatingAway)
                    || mHeadsUpChild == null || mContainingNotification.isOnKeyguard()) {
                if (mExpandedChild.getHeight() == mContractedChild.getHeight()) {
                if (mExpandedChild.getHeight() <= mContractedChild.getHeight()) {
                    expandable = false;
                }
            } else if (mExpandedChild.getHeight() == mHeadsUpChild.getHeight()) {
            } else if (mExpandedChild.getHeight() <= mHeadsUpChild.getHeight()) {
                expandable = false;
            }
        }