Merge \"Fixes issue with group backgrounds when animating to keyguard\" into nyc-dev

am: 8363980d45

Change-Id: I99a748be4a74e917f7e17fdf7ad9a7c52d120a0b
This commit is contained in:
Mady Mellor
2016-06-15 23:27:39 +00:00
committed by android-build-merger

View File

@@ -140,11 +140,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
@Override
public void onClick(View v) {
if (!mShowingPublic && mGroupManager.isSummaryOfGroup(mStatusBarNotification)) {
mGroupExpansionChanging = true;
final boolean wasExpanded = mGroupManager.isGroupExpanded(mStatusBarNotification);
boolean nowExpanded = mGroupManager.toggleGroupExpansion(mStatusBarNotification);
mOnExpandClickListener.onExpandClicked(mEntry, nowExpanded);
mGroupExpansionChanging = true;
updateBackgroundForGroupState();
MetricsLogger.action(mContext, MetricsEvent.ACTION_NOTIFICATION_GROUP_EXPANDER,
nowExpanded);
logExpansionEvent(true /* userAction */, wasExpanded);
@@ -1343,6 +1342,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
if (mChildrenContainer != null) {
mChildrenContainer.setChildrenExpanded(expanded);
}
updateBackgroundForGroupState();
updateClickAndFocus();
}