commit | 96b355c9947411758e6c3b81ac0f4a80948dc794 | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Mon Aug 05 10:41:33 2019 -0400 |
committer | Miranda Kephart <mkephart@google.com> | Thu Aug 08 15:23:24 2019 +0000 |
tree | 3cae0e349bc088bc98524b5e945ff47c926b3bb3 | |
parent | e4061fc931cb8bc50306a76e617761936a74b97f [diff] |
Add distance threshold for assistant gesture fling It was possible to invoke the assistant accidentally. This change adds a minimum distance threshold before we register a fling (the same distance as used for drag, 55dp). Bug: 137106918 Test: manual; tested that accidental flings were much more difficult, but intentional invocations were still easy to register Change-Id: I40c8bd43c1a28c7b161467804a1e44746b8e92ef