diff options
author | 2024-12-10 23:41:22 +0000 | |
---|---|---|
committer | 2025-02-14 23:21:26 +0000 | |
commit | f6c88eef8c1e92ad8429175be5b8f3725da7addc (patch) | |
tree | 715ba53e7b99fdda19c3e74372f5848ffd086b64 /services/incremental/IncrementalServiceValidation.cpp | |
parent | ff6fcc32690eff93ad37a137de775e1cd755012c (diff) |
Update drag resize input listener in bg thread
Creating and updating the listener requires multiple blocking binder
calls to grant / update input channels, which adds latency to the
decor's #relayout (and thus the shell transition as a whole).
To reduce latency, this change moves such calls to a background thread.
Bug: 396445663
Flag: com.android.window.flags.enable_drag_resize_set_up_in_bg_thread
Test: atest DragResizeInputListenerTest
Test: verify in perfetto binder calls are made in bg thread
Change-Id: I0474d6fe11afa057d52e04d1b624641f653b1dd1
Diffstat (limited to 'services/incremental/IncrementalServiceValidation.cpp')
0 files changed, 0 insertions, 0 deletions