am 6052a81e: Merge "Fix gesture detection algorithm" into jb-mr1-dev

* commit '6052a81e08758c738b80fb8bde6babe97bcdd261':
  Fix gesture detection algorithm