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

Commit 48720843 authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Mark corner resize areas as gesture exclusion areas." into udc-dev

parents f1dc1f3b 0be54555
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@ import android.view.WindowManagerGlobal;

import com.android.internal.view.BaseIWindow;

import java.util.Arrays;
import java.util.List;

/**
 * An input event listener registered to InputDispatcher to receive input events on task edges and
 * and corners. Converts them to drag resize requests.
@@ -211,6 +214,10 @@ class DragResizeInputListener implements AutoCloseable {
                    PRIVATE_FLAG_TRUSTED_OVERLAY,
                    0 /* inputFeatures */,
                    touchRegion);
            List<Rect> cornersList = Arrays.asList(
                    mLeftTopCornerBounds, mLeftBottomCornerBounds,
                    mRightTopCornerBounds, mRightBottomCornerBounds);
            mWindowSession.reportSystemGestureExclusionChanged(mFakeWindow, cornersList);
        } catch (RemoteException e) {
            e.rethrowFromSystemServer();
        }