commit | 43d30f03f45f3f9ad3955f5c83f4d21f26891de6 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Mar 04 10:51:32 2016 -0800 |
committer | Selim Cinek <cinek@google.com> | Fri Mar 04 17:03:28 2016 -0800 |
tree | fdc5f68d96932e6448fb59c2128a3d2b2290f1a7 | |
parent | 166f7c4a503e15ae27b158f5bbaf265f8a21f581 [diff] [blame] |
Fixed a bug where the top child notification wasn't expandable Because we also applied the hack to the expand helper to dismiss the whole group instead of the child. Bug: 27420342 Change-Id: I6179d3b99150c8005d0c45b6efdabb2de4dbe941
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 12a83fd..27b94d1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -411,8 +411,7 @@ } public ExpandableNotificationRow getViewAtPosition(float y) { - if (!mIsSummaryWithChildren || !mChildrenExpanded - || (getNotificationChildren().size() == 1 && isClearable())) { + if (!mIsSummaryWithChildren || !mChildrenExpanded) { return this; } else { ExpandableNotificationRow view = mChildrenContainer.getViewAtPosition(y);