summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author yunho.shin <yunho.shin@lge.com> 2020-11-16 21:13:57 +0900
committer chaviw <chaviw@google.com> 2020-12-28 09:40:02 -0800
commitf4a80b81f6b81bc97d796a6094f61a5ce9b75756 (patch)
tree8c3a62f28f6dce7d10c451e23143eb856cd44d87 /services/surfaceflinger/RegionSamplingThread.cpp
parentda2078430f6e4ef62c26e81d0e85275954582a31 (diff)
Use identity transform for Joystick MotionEvent
The SyntheticJoystickHandler makes key events according to the axis values of MotionEvent. If there is a Window which has transformed, the axis values are going to be bigger or smaller than SyntheticJoystickHandler's threshold and the generating events never stop because JoystickHandler thinks that the user is controlling Joystick continuously. This makes Joystick's MotionEvent has identity transform so that its aix values are not depending on the window but display. Test: atest inputflinger_tests:InputDispatcherTest\ #NonPointerMotionEvent_JoystickNotTransformed Bug: 158802274 Change-Id: Ib1c12c773a604c74807033819b8d1e1032913c98
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions