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

Commit 2615c684 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Do not set guts visibility to transient state" into qt-qpr1-dev am: 4bcd3666

am: 91ab7bfc

Change-Id: Ia15f7a8364e7467a90e4ccb0bdc752f7b9448861
parents a0517656 91ab7bfc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1208,12 +1208,12 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
            mChildrenContainer.reInflateViews(mExpandClickListener, mEntry.notification);
        }
        if (mGuts != null) {
            View oldGuts = mGuts;
            NotificationGuts oldGuts = mGuts;
            int index = indexOfChild(oldGuts);
            removeView(oldGuts);
            mGuts = (NotificationGuts) LayoutInflater.from(mContext).inflate(
                    R.layout.notification_guts, this, false);
            mGuts.setVisibility(oldGuts.getVisibility());
            mGuts.setVisibility(oldGuts.isExposed() ? VISIBLE : GONE);
            addView(mGuts, index);
        }
        View oldMenu = mMenuRow == null ? null : mMenuRow.getMenuView();