Merge "Fixed a crash with notification groups" into nyc-dev am: c152dacc37

am: 5432938bf6

* commit '5432938bf6838c934cd4e28e094b9d78eca18777':
  Fixed a crash with notification groups

Change-Id: Id90f5d886d1019871172f0f7262f818e9fb2c36a
This commit is contained in:
Selim Cinek
2016-06-02 16:48:23 +00:00
committed by android-build-merger

View File

@@ -1097,7 +1097,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
mIsSystemExpanded = expand;
notifyHeightChanged(false /* needsAnimation */);
logExpansionEvent(false, wasExpanded);
if (mChildrenContainer != null) {
if (mIsSummaryWithChildren) {
mChildrenContainer.updateGroupOverflow();
}
}
@@ -1172,7 +1172,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
}
public void updateChildrenHeaderAppearance() {
if (mChildrenContainer != null) {
if (mIsSummaryWithChildren) {
mChildrenContainer.updateChildrenHeaderAppearance();
}
}