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

Commit 831b6844 authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Notify when a back gesture is triggered in an exclusion area" into qt-dev am: 1d0fe857

am: a8264077

Change-Id: I3bfe12556741d5cf93bbe4c4e66ae69ae2721385
parents 86ba7891 a8264077
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -271,7 +271,12 @@ public class EdgeBackGestureHandler implements DisplayListener {
        if (x > mEdgeWidth && x < (mDisplaySize.x - mEdgeWidth)) {
            return false;
        }
        return !mExcludeRegion.contains(x, y);
        boolean isInExcludedRegion = mExcludeRegion.contains(x, y);
        if (isInExcludedRegion) {
            mOverviewProxyService.notifyBackAction(false /* completed */, -1, -1,
                    false /* isButton */, !mIsOnLeftEdge);
        }
        return !isInExcludedRegion;
    }

    private void onMotionEvent(MotionEvent ev) {