Merge "Do not set guts visibility to transient state" into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4bcd36661d
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user