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

Commit 094c49ef 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

Change-Id: I7498efc8657dd13db1110225a5f9c6388db04929
parents 308bec6c 4bcd3666
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1209,12 +1209,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();