diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 45c5cfb5c15a8..52e6a9c2caf76 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -317,6 +317,16 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { updateNoBackgroundState(); } + @Override + public boolean onTouchEvent(MotionEvent event) { + if (event.getActionMasked() != MotionEvent.ACTION_DOWN + || !isChildInGroup() || isGroupExpanded()) { + return super.onTouchEvent(event); + } else { + return false; + } + } + @Override protected boolean shouldHideBackground() { return super.shouldHideBackground() || mShowNoBackground;