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

Skip to content
Commit 7aef3e50 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Initiate drag and drop using channel tokens

When the drag and drop is started, the input system only needs to know
the tokens of the windows that are involved. The input channels don't
need to be provided; in fact, in a future CL, the input channel won't
even be stored inside the caller (since the WM code initiates drag and
drop on behalf of the app).

In this CL, only the source is modified to use the channel token instead
of channel. In a separate CL, the target will also be modified.

Bug: 323450804
Test: atest android.view.surfacecontrol.cts.SurfaceControlViewHostTests
Test: atest WmTests:com.android.server.wm.DragDropControllerTests
Flag: EXEMPT refactor
Change-Id: Ie1d4a1a5d0be1c2b80d33a160e1b00ec69fe2517
parent 5145363d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment