commit | 237448b065208b8b6867fd056730f753a6f32a64 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Tue May 01 12:35:29 2012 -0700 |
committer | The Android Automerger <android-build@android.com> | Tue May 01 17:15:54 2012 -0700 |
tree | 8e4c5b6c87b30179b13d2d899f9c7ec613815286 | |
parent | ce4a642511f07c747b74e454649f915ff0095c59 [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