diff options
| author | 2019-08-09 11:12:21 -0700 | |
|---|---|---|
| committer | 2019-08-09 11:12:21 -0700 | |
| commit | 91ab7bfca653cb6ce1c2a39c96d0d4282f6faa6b (patch) | |
| tree | 431cc5436610de5dfe3db25755a408843db277c7 | |
| parent | 4b8e02d15be01777fde8995dfb7cf9640fa442d3 (diff) | |
| parent | 4bcd36661dd6a8455a99d2030acd5317c54657bd (diff) | |
Merge "Do not set guts visibility to transient state" into qt-qpr1-dev
am: 4bcd36661d
Change-Id: I0e3f1ec5f9e7142e9b802f96f7853a2a42045cb9
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java index ea31be4cf90c..d6aeb4ff2c23 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java @@ -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(); |