[2/n CD Cursor] Introduce cursor State
Introduce Cursor State as mCursorStateByDisplay. This will be used to
store and track TouchState for devices that control the mouse cursor.
In upcoming CLs we will use this state to allow mouse-cursor based
gestures to continue across connected-displays based on topology.
Bug: 367661487
Test: atest inputflinger_tests
Test: adb shell setprop persist.device_config.aconfig_flags.\
lse_desktop_experience.com.android.input.flags.\
connected_displays_cursor true && atest inputflinger_tests
Flag: com.android.input.flags.connected_displays_cursor
Change-Id: Iabe980cb6f7f6314bfe2f53e8f3b842d5b2c1529
2 files changed