Merge "Fixed a bug where the notification header was above the guts"

This commit is contained in:
Selim Cinek
2015-12-12 00:00:40 +00:00
committed by Android (Google) Code Review

View File

@@ -991,7 +991,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
mNotificationHeader.setOnClickListener(mExpandClickListener);
mNotificationHeaderWrapper = NotificationViewWrapper.wrap(getContext(),
mNotificationHeader);
addView(mNotificationHeader);
addView(mNotificationHeader, indexOfChild(mChildrenContainer) + 1);
} else {
header.reapply(getContext(), mNotificationHeader);
mNotificationHeaderWrapper.notifyContentUpdated();