summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author roy li <royli0822@gmail.com> 2024-07-31 08:44:46 +0000
committer roy li <royli0822@gmail.com> 2024-07-31 08:45:03 +0000
commit034350143088d3ac1b9e4ef8a76d112ae4f3d05e (patch)
treecca6f854be1ac72013a71f38ca9ada47fa1de362 /libs/input/PointerController.cpp
parentc9b68de91326f9c0b1840c512c03e6aa695016fc (diff)
fix "Comparison method violates its general contract!" IllegalArgumentException
When the difference between the elapsedRealtime() values of two Entries exceeds the maximum size of an integer, casting the long result to an integer will cause an overflow. Change-Id: If90333255e308dc69c64d44824a1ebed72af653c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions