commit | 9514d78a54dcb11ac72f90531ea5fbcd125dc89a | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Tue Nov 10 16:37:23 2020 -0800 |
committer | Garfield Tan <xutan@google.com> | Tue Nov 10 17:50:42 2020 -0800 |
tree | efe59b3a3fdfb1a261fcfdac22f7d1c84419a76c | |
parent | c03b09c12aea81c677998637b161527ee215f6d0 [diff] |
Remove viewport display ID assignment in pointer mode TouchInputMapper#dispatchPointerSimple() is only called when DeviceMode is POINTER, which by definition is to dispatch events to cursor position. Therefore it should always use the display from PointerController. It's already doing that in the line 3446 so remove this no-op line of code. Test: Mouse click still works. Change-Id: Id72bc37e75f42c52e121bfb50bfbf59b3717c66b