diff options
| author | 2024-07-25 10:28:02 -0700 | |
|---|---|---|
| committer | 2024-07-25 10:59:44 -0700 | |
| commit | f01869f880816eb2c6b79c465c7e950c555334ea (patch) | |
| tree | ca1fbfb05d6a42ebcc79287acc3cb9001a006c37 /libs/androidfw/StringPool.cpp | |
| parent | 800131b160d87ff834fa3fcc8e4c866d0d74ef75 (diff) | |
Use receiving window's input channel token for transferring drag gesture
Previously, it was necessary to provide the entire input channel in
order to transfer the touch gesture for drag.
This is actually fine because in the case of the drag window, the
inputchannel is stored inside system_server, so we do have direct access
to it.
Still, to make this API more flexible and to better align it to the
"from/to" style, let's convert this to use the input channel token. This
should also reduce the need to duplicate the input channel's fd if we
ever make this a binder call in the future.
Bug: 323450804
Test: atest android.view.surfacecontrol.cts.SurfaceControlViewHostTests
Test: atest WmTests:com.android.server.wm.DragDropControllerTests
Flag: EXEMPT refactor
Change-Id: I5639f25462e283f49af6d7801a98818022ac798b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions