diff options
author | Patrick Dubroy <dubroy@google.com> | 2011-03-02 15:06:36 -0800 |
---|---|---|
committer | Patrick Dubroy <dubroy@google.com> | 2011-03-02 15:06:36 -0800 |
commit | ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32 (patch) | |
tree | 59b1a74d53f2afde3a0876614b975a1c546d087a /src/com/android/launcher2/DragScroller.java | |
parent | fecd3b8e36dc0b785271b7a501ed174247c412a4 (diff) | |
download | android_packages_apps_Trebuchet-ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.tar.gz android_packages_apps_Trebuchet-ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.tar.bz2 android_packages_apps_Trebuchet-ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.zip |
Fix 3377113: Mini homescreen outline wrong color
Couldn't repro this reliably, but the only way I could see
it happening is if we got an UP event without a MOVE at the
same location. This patch prevents that from happening.
Change-Id: I473c4ea50474b45da8c5537efe39177c1423ae20
Diffstat (limited to 'src/com/android/launcher2/DragScroller.java')
-rw-r--r-- | src/com/android/launcher2/DragScroller.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/DragScroller.java b/src/com/android/launcher2/DragScroller.java index 6af9c3032..6ef4bd873 100644 --- a/src/com/android/launcher2/DragScroller.java +++ b/src/com/android/launcher2/DragScroller.java @@ -26,6 +26,7 @@ public interface DragScroller { /** * The touch point has entered the scroll area; a scroll is imminent. + * This event will only occur while a drag is active. * * @param direction The scroll direction */ @@ -33,6 +34,7 @@ public interface DragScroller { /** * The touch point has left the scroll area. + * NOTE: This may not be called, if a drop occurs inside the scroll area. */ void onExitScrollArea(); } |