commit | 8749a298c0a94df8fc511bdd08fef4a59d0fadf7 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Tue May 01 12:35:29 2012 -0700 |
committer | Guang Zhu <guangzhu@google.com> | Tue May 01 13:57:57 2012 -0700 |
tree | 8e4c5b6c87b30179b13d2d899f9c7ec613815286 | |
parent | 909ec2e1ae92618d5fd351cc23ee55f5693ab532 [diff] |
fix how monkey adjust timestamps for motion events Currently for motion events, monkey forces current system uptime onto both down time and event time. This breaks ACTION_MOVE events because the down time of it is supposed to be the time when finger is down. the new logic is: * check down time, if it's invalid (<0), fill in uptime * always update event time with a fresh uptime Bug: 6424997 Change-Id: I0b445815a5015d48c08bebc921c572164874449d