Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +7 −1 Original line number Diff line number Diff line Loading @@ -5786,7 +5786,13 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd @Override public boolean canChildBeDismissedInDirection(View v, boolean isRightOrDown) { return (isLayoutRtl() ? !isRightOrDown : isRightOrDown) && canChildBeDismissed(v); boolean isValidDirection; if (NotificationUtils.useNewInterruptionModel(mContext)) { isValidDirection = isLayoutRtl() ? !isRightOrDown : isRightOrDown; } else { isValidDirection = true; } return isValidDirection && canChildBeDismissed(v); } }; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +7 −1 Original line number Diff line number Diff line Loading @@ -5786,7 +5786,13 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd @Override public boolean canChildBeDismissedInDirection(View v, boolean isRightOrDown) { return (isLayoutRtl() ? !isRightOrDown : isRightOrDown) && canChildBeDismissed(v); boolean isValidDirection; if (NotificationUtils.useNewInterruptionModel(mContext)) { isValidDirection = isLayoutRtl() ? !isRightOrDown : isRightOrDown; } else { isValidDirection = true; } return isValidDirection && canChildBeDismissed(v); } }; Loading