Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8b78687 authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am fc22dd58: am 49af6359: Merge "Adapted HUN behavior when swiping vertically" into lmp-mr1-dev

* commit 'fc22dd58':
  Adapted HUN behavior when swiping vertically
parents 0ac91ce1 fc22dd58
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -397,14 +397,11 @@ public class HeadsUpNotificationView extends FrameLayout implements SwipeHelper.
                    final float daX = Math.abs(ev.getX() - mFirstX);
                    final float daY = Math.abs(dY);
                    if (!mConsuming && daX < daY && daY > mTouchSlop) {
                        releaseAndClose();
                        if (dY > 0) {
                            if (DEBUG_EDGE_SWIPE) Log.d(TAG, "found an open");
                            mBar.animateExpandNotificationsPanel();
                        }
                        if (dY < 0) {
                            if (DEBUG_EDGE_SWIPE) Log.d(TAG, "found a close");
                            mBar.onHeadsUpDismissed();
                        }
                        mConsuming = true;
                    }
                    break;