Merge "Stop making copies when updating input channels" into tm-qpr-dev
This commit is contained in:
@@ -87,7 +87,7 @@ class DragResizeInputListener implements AutoCloseable {
|
|||||||
try {
|
try {
|
||||||
mWindowSession.grantInputChannel(
|
mWindowSession.grantInputChannel(
|
||||||
mDisplayId,
|
mDisplayId,
|
||||||
new SurfaceControl(mDecorationSurface, TAG),
|
mDecorationSurface,
|
||||||
mFakeWindow,
|
mFakeWindow,
|
||||||
null /* hostInputToken */,
|
null /* hostInputToken */,
|
||||||
FLAG_NOT_FOCUSABLE,
|
FLAG_NOT_FOCUSABLE,
|
||||||
@@ -150,8 +150,7 @@ class DragResizeInputListener implements AutoCloseable {
|
|||||||
mWindowSession.updateInputChannel(
|
mWindowSession.updateInputChannel(
|
||||||
mInputChannel.getToken(),
|
mInputChannel.getToken(),
|
||||||
mDisplayId,
|
mDisplayId,
|
||||||
new SurfaceControl(
|
mDecorationSurface,
|
||||||
mDecorationSurface, "DragResizeInputListener#setTouchRegion"),
|
|
||||||
FLAG_NOT_FOCUSABLE,
|
FLAG_NOT_FOCUSABLE,
|
||||||
PRIVATE_FLAG_TRUSTED_OVERLAY,
|
PRIVATE_FLAG_TRUSTED_OVERLAY,
|
||||||
touchRegion);
|
touchRegion);
|
||||||
|
|||||||
Reference in New Issue
Block a user