Fixed a bug where the notification header was above the guts

Change-Id: I1b32ea229bd7a7b2c6b9f572ea71167334ba8a1c
This commit is contained in:
Selim Cinek
2015-12-11 14:14:39 -08:00
parent 471e31aa9b
commit b5a83613fe

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();