OSDN Git Service

Fixed a bug where the notification header was above the guts
authorSelim Cinek <cinek@google.com>
Fri, 11 Dec 2015 22:14:39 +0000 (14:14 -0800)
committerSelim Cinek <cinek@google.com>
Fri, 11 Dec 2015 22:54:04 +0000 (14:54 -0800)
Change-Id: I1b32ea229bd7a7b2c6b9f572ea71167334ba8a1c

packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java

index bd143ac..ed4c774 100644 (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();