Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 229a8804 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

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
parent 15a5c5af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment