summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DragScroller.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-10-03 15:15:18 -0700
committerWinson Chung <winsonc@google.com>2011-10-03 15:15:51 -0700
commit3e0839e5f830ab7e64223ebe186d97729eda3e22 (patch)
tree512fbc08bf90cdbf6ade6e98c8adf753b4a0e336 /src/com/android/launcher2/DragScroller.java
parente4a647f8793ce7823394db43d6af57f9eab8a340 (diff)
downloadandroid_packages_apps_Trebuchet-3e0839e5f830ab7e64223ebe186d97729eda3e22.tar.gz
android_packages_apps_Trebuchet-3e0839e5f830ab7e64223ebe186d97729eda3e22.tar.bz2
android_packages_apps_Trebuchet-3e0839e5f830ab7e64223ebe186d97729eda3e22.zip
Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)
Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
Diffstat (limited to 'src/com/android/launcher2/DragScroller.java')
-rw-r--r--src/com/android/launcher2/DragScroller.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/DragScroller.java b/src/com/android/launcher2/DragScroller.java
index 894b06b27..a3ee6c237 100644
--- a/src/com/android/launcher2/DragScroller.java
+++ b/src/com/android/launcher2/DragScroller.java
@@ -30,11 +30,11 @@ public interface DragScroller {
*
* @param direction The scroll direction
*/
- void onEnterScrollArea(int x, int y, int direction);
+ boolean onEnterScrollArea(int x, int y, int direction);
/**
* The touch point has left the scroll area.
* NOTE: This may not be called, if a drop occurs inside the scroll area.
*/
- void onExitScrollArea();
+ boolean onExitScrollArea();
}