diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java index 45c5cfb5c15a..52e6a9c2caf7 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java @@ -318,6 +318,16 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { } @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; } |