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

Commit 4e86b76a authored by Garfield Tan's avatar Garfield Tan Committed by Android (Google) Code Review
Browse files

Merge "Stop making copies when updating input channels" into tm-qpr-dev

parents cd3171d2 c49b8a12
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class DragResizeInputListener implements AutoCloseable {
        try {
            mWindowSession.grantInputChannel(
                    mDisplayId,
                    new SurfaceControl(mDecorationSurface, TAG),
                    mDecorationSurface,
                    mFakeWindow,
                    null /* hostInputToken */,
                    FLAG_NOT_FOCUSABLE,
@@ -150,8 +150,7 @@ class DragResizeInputListener implements AutoCloseable {
            mWindowSession.updateInputChannel(
                    mInputChannel.getToken(),
                    mDisplayId,
                    new SurfaceControl(
                            mDecorationSurface, "DragResizeInputListener#setTouchRegion"),
                    mDecorationSurface,
                    FLAG_NOT_FOCUSABLE,
                    PRIVATE_FLAG_TRUSTED_OVERLAY,
                    touchRegion);