commit | aa7caa60324d69b5cd7bf3cbd8eeac2a63ad7a99 | [log] [tgz] |
---|---|---|
author | Cary Clark <cary@android.com> | Tue Sep 08 14:15:07 2009 -0400 |
committer | Cary Clark <cary@android.com> | Tue Sep 08 14:15:07 2009 -0400 |
tree | a7feecfefffa7d30a3885407e346c1b6e02446e1 | |
parent | 377c5c15f8fea14b575b6b0f14ac7fd3a4d44b3a [diff] |
don't fling if there's nowhere to go Add a test to doFling() to return quickly if the fling has no effect. For simplicity, only test for horizontal or vertical flings. The man purpose is to avoid suspending webkit until the fling animation is complete when the purpose of the touch drag is to activate a touch event, like a swipe in superpudu. fixes http://b/issue?id=2052852