Commit 1396c8f
nergi
[CD Cursor] Fix invalid displayId set when topology is not yet set
The issue here was that both currentCursor and topology
has invalid displayId, but input devices have been set.. Which caused
[Cursor|Touchpad]InputMapper to not get notified on DISPLAY_INFO
reconfiguration, and rejecting all motion events.
Bug: 399893492
Bug: 396568321
Test: Manually verified with attached cursor on reboot
Flag: com.android.input.flags.connected_displays_associated_display_cursor_bugfix
Change-Id: I016c646acdf6bd7b0fdb2840c852b825ccad9e1b1 parent c8b689d commit 1396c8f
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
681 | 687 | | |
682 | 688 | | |
683 | 689 | | |
| |||
786 | 792 | | |
787 | 793 | | |
788 | 794 | | |
789 | | - | |
| 795 | + | |
| 796 | + | |
790 | 797 | | |
791 | 798 | | |
792 | 799 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
364 | 375 | | |
365 | 376 | | |
366 | 377 | | |
| |||
0 commit comments