Merge "Stop making copies when updating input channels" into tm-qpr-dev am: 4e86b76aaa am: 436bd56b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19820795 Change-Id: Iebb5ffc389bdd00da39754297c406f8386e94b93 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user