Commit 42caf4a
committed
TouchInputMapper: Fix display association for POINTER mode
POINTER mode in TouchInputMapper is now only used for drawing tablets
and absolute mice; it is no longer used for touchpads. This means
TouchInputMapper can only work with an associated display, so ensure we
don't use the invalid displayId when generating events from these
devices.
Bug: 332683415
Bug: 399982225
Test: Presubmit
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8f1a0c3fd97722ad9fe14f380734cfc2a7e31809)
Merged-In: Ice0ee9be87d0582c553ef3743ac3f0d49a12c6ea
Change-Id: Ice0ee9be87d0582c553ef3743ac3f0d49a12c6ea1 parent 0fa9033 commit 42caf4a
2 files changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3476 | 3476 | | |
3477 | 3477 | | |
3478 | 3478 | | |
3479 | | - | |
| 3479 | + | |
3480 | 3480 | | |
3481 | 3481 | | |
3482 | 3482 | | |
| |||
3967 | 3967 | | |
3968 | 3968 | | |
3969 | 3969 | | |
3970 | | - | |
3971 | | - | |
3972 | | - | |
3973 | | - | |
3974 | | - | |
3975 | | - | |
3976 | | - | |
3977 | | - | |
| 3970 | + | |
| 3971 | + | |
3978 | 3972 | | |
3979 | 3973 | | |
3980 | 3974 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7534 | 7534 | | |
7535 | 7535 | | |
7536 | 7536 | | |
7537 | | - | |
| 7537 | + | |
7538 | 7538 | | |
7539 | 7539 | | |
7540 | 7540 | | |
| |||
0 commit comments