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

Commit b38e97e3 authored by Patrick Williams's avatar Patrick Williams
Browse files

Update SCVH InputTransferToken when available

Use the SCVH sidechannel to update host InputTransferToken when the view
that is attached to the SCVH itself becomes attached to a window. This
will update the mapping in WMS and allow the input APIs to work as
expected. This allows callers to add a window with a SCVH instead of
waiting until the window is created. As a result of this change, we
allow SCVH to be reparented from one window to another.

This cl also relaxes the requirement of passing a host
InputTransferToken. The caller can rely on the sidechannel to pass the
correct token when the SCVH is attached to a SurfaceView.

Bug: 392965431
Test: presubmit
Flag: com.android.window.flags.update_host_input_transfer_token
Change-Id: I92d23c0deb42bc9d2b1d83a7ca84c351aa669eec
parent 04c59c79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment