Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +2 −3 Original line number Diff line number Diff line Loading @@ -638,10 +638,9 @@ public class NotificationPanelView extends PanelView implements @Override protected boolean isInContentBounds(float x, float y) { float yTransformed = y - mNotificationStackScroller.getY(); float stackScrollerX = mNotificationStackScroller.getX(); return mNotificationStackScroller.isInContentBounds(yTransformed) && stackScrollerX < x && x < stackScrollerX + mNotificationStackScroller.getWidth(); return !mNotificationStackScroller.isBelowLastNotification(x - stackScrollerX, y) && stackScrollerX < x && x < stackScrollerX + mNotificationStackScroller.getWidth(); } private void initDownStates(MotionEvent event) { Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +2 −2 Original line number Diff line number Diff line Loading @@ -2614,7 +2614,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } private boolean isBelowLastNotification(float touchX, float touchY) { public boolean isBelowLastNotification(float touchX, float touchY) { int childCount = getChildCount(); for (int i = childCount - 1; i >= 0; i--) { ExpandableView child = (ExpandableView) getChildAt(i); Loading @@ -2640,7 +2640,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } } return touchY > mIntrinsicPadding; return touchY > mTopPadding + mStackTranslation; } private void updateExpandButtons() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +2 −3 Original line number Diff line number Diff line Loading @@ -638,10 +638,9 @@ public class NotificationPanelView extends PanelView implements @Override protected boolean isInContentBounds(float x, float y) { float yTransformed = y - mNotificationStackScroller.getY(); float stackScrollerX = mNotificationStackScroller.getX(); return mNotificationStackScroller.isInContentBounds(yTransformed) && stackScrollerX < x && x < stackScrollerX + mNotificationStackScroller.getWidth(); return !mNotificationStackScroller.isBelowLastNotification(x - stackScrollerX, y) && stackScrollerX < x && x < stackScrollerX + mNotificationStackScroller.getWidth(); } private void initDownStates(MotionEvent event) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +2 −2 Original line number Diff line number Diff line Loading @@ -2614,7 +2614,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } private boolean isBelowLastNotification(float touchX, float touchY) { public boolean isBelowLastNotification(float touchX, float touchY) { int childCount = getChildCount(); for (int i = childCount - 1; i >= 0; i--) { ExpandableView child = (ExpandableView) getChildAt(i); Loading @@ -2640,7 +2640,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } } return touchY > mIntrinsicPadding; return touchY > mTopPadding + mStackTranslation; } private void updateExpandButtons() { Loading