diff options
| author | 2025-02-18 14:29:01 +0000 | |
|---|---|---|
| committer | 2025-02-21 11:44:20 +0000 | |
| commit | 3c769a4d1ba7f422e5b21d6d5f7e0f6b1ae5b2f0 (patch) | |
| tree | 07270078edb9790ec1c63aeca6f734c8fc18db41 /libs/gui/TransactionState.cpp | |
| parent | 44ff4fc9bbc1b326a7dd5865ab571752ac768f52 (diff) | |
[CD Cursor] Update pointer display in line with topology update
This CL fixes issues related to pointer display on topology update. When
we are working with topology cursor display should only be updated when
topology is updated or user moves the cursor between displays. This CL
Specifically implements following behaviour:
1. Ignore setDefaultMouseDisplayId whith topology.
2. Only update pointer display when topology is set.
3. Fallback to the primary display id pointer display is removed.
Test: atest inputflinger_tests
Bug: 395033854
Flag: com.android.input.flags.connected_displays_cursor
Change-Id: I576107b0ee5b81d596bdb91c796ceb6ac9eb2f73
Diffstat (limited to 'libs/gui/TransactionState.cpp')
0 files changed, 0 insertions, 0 deletions