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

Commit 4422c68b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Pass last touch event to DragDownHelper when starting doze" into udc-dev

parents 2537e164 e651a3a0
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -397,19 +397,15 @@ public class NotificationShadeWindowViewController {
                    return true;
                }

                if (handled) {
                    return true;
                }

                if (mMultiShadeMotionEventInteractor != null) {
                    // This interactor is not null only if the dual shade feature is enabled.
                    return mMultiShadeMotionEventInteractor.onTouchEvent(ev, mView.getWidth());
                } else if (mDragDownHelper.isDragDownEnabled()
                        || mDragDownHelper.isDraggingDown()) {
                    // we still want to finish our drag down gesture when locking the screen
                    return mDragDownHelper.onTouchEvent(ev);
                    return mDragDownHelper.onTouchEvent(ev) || handled;
                } else {
                    return false;
                    return handled;
                }
            }