Merge "Fixed a bug where the content wasn\'t transforming in a group" into nyc-dev
am: fe03504cf1

* commit 'fe03504cf1904a955bd8bbcd26f9121d754f5fc0':
  Fixed a bug where the content wasn't transforming in a group

Change-Id: I793b9f59bf862c790c2c761c9a16aeef2c7e48cf
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
index 078b3c6..5a8d4b3 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
@@ -742,7 +742,7 @@
             }
         } else {
             if (noExpandedChild || (viewHeight <= mContractedChild.getHeight()
-                    && (!mIsChildInGroup
+                    && (!mIsChildInGroup || isGroupExpanded()
                             || !mContainingNotification.isExpanded(true /* allowOnKeyguard */)))) {
                 return VISIBLE_TYPE_CONTRACTED;
             } else {