summaryrefslogtreecommitdiff
path: root/libs/permission/IAppOpsService.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-06-19 17:05:07 +0000
committer Harry Cutts <hcutts@google.com> 2023-06-19 18:22:34 +0000
commit1db43995a5e1cda14aaa1079bbcd39a1c8ccb8fc (patch)
treeebcc2cb0e13e109bd8a76d02b51ed3ff3e08ca50 /libs/permission/IAppOpsService.cpp
parent9072109773b62cdb89613d78534252164dfe760f (diff)
TouchInputMapper: don't check touchpad touches by screen bounds
Uncaptured touchpads (with DeviceMode::POINTER) still on the old stack (i.e. the Sony DualShock 4 touchpad) were having touches ignored if they started at coordinates that would be outside of the bounds of the touchscreen. Since touchpads use relative motions and don't directly relate raw touch locations to screen locations, this was incorrect, and caused touches to be ignored with certain screen/touchpad dimension and orientation combinations. Bug: 280396539 Test: connect Sony DualShock 4 by USB, rotate screen to portrait, check touches starting in all areas of the pad are turned into pointer movements Test: atest inputflinger_tests Change-Id: I9a92ba79246ee8fc25418c2e248ae2c3839a0d58
Diffstat (limited to 'libs/permission/IAppOpsService.cpp')
0 files changed, 0 insertions, 0 deletions