OSDN Git Service

Fixing issue with prediction bar apps erroneously being tapped.
authorWinson Chung <winsonc@google.com>
Fri, 15 May 2015 00:24:58 +0000 (17:24 -0700)
committerWinson Chung <winsonc@google.com>
Tue, 19 May 2015 18:03:30 +0000 (18:03 +0000)
commit66a90e701ff6f7002fd3ed290ffc25d9c5ff3a9a
treee8d1780fe7a58f3dd2b1c3256371c925f107d37d
parente49c105de57e53828ea372aff3713d6ebfd66f2e
Fixing issue with prediction bar apps erroneously being tapped.

- requestDisallowIntercept is not called unless the recycler view
  scrolls so when over scrolling, we still need to check the distance
  to ensure we stop long pressing when the touch moves outside the
  slop
- Ensure that we don't allow tapping the prediction bar icons under
  the search bar

Change-Id: I520c05fa77911340d4747bb469918812b192769e
src/com/android/launcher3/AppsContainerRecyclerView.java
src/com/android/launcher3/AppsContainerView.java