summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-07-28 21:58:56 +0000
committer Siarhei Vishniakou <svv@google.com> 2022-07-29 18:50:43 +0000
commit229a880486fd617f31cf6c29f2575a895ca2eb8b (patch)
tree389b9e3e6bcc80e2849a134bce91e76e46a02749 /services/surfaceflinger/RegionSamplingThread.cpp
parent15a5c5afa02710d4c5f33056fc94008def08bb57 (diff)
Do not convert time to float
The conversion of time to float causes weird behaviour. When the time is received in palm rejection code, the time deltas do not match the original values seen in Android. Rather than debug the float conversion, switch to using integral values for timestamps. After the switch, printing the time difference shows the values as expected. Bug: 240168494 Test: printed diffs of timestamps inside palm rejection code Test: atest inputflinger_tests Change-Id: If6af45ba7740de4d70a300a45842bd3d6a069f40
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions