summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/folder/FolderPagedView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-12-14 15:13:00 -0800
committerSunny Goyal <sunnygoyal@google.com>2016-12-15 08:05:09 -0800
commitf5440cbd6c0525769d24b890e16313a728831e04 (patch)
tree5af627139853df45b24c890fb91bef558ebe2aa1 /src/com/android/launcher3/folder/FolderPagedView.java
parente96798e885e3ac97b6de0a1c598eb09cf62349af (diff)
downloadandroid_packages_apps_Trebuchet-f5440cbd6c0525769d24b890e16313a728831e04.tar.gz
android_packages_apps_Trebuchet-f5440cbd6c0525769d24b890e16313a728831e04.tar.bz2
android_packages_apps_Trebuchet-f5440cbd6c0525769d24b890e16313a728831e04.zip
Removing FeatureFlag.LAUNCHER3_LEGACY_WORKSPACE_DND and corresponding logic
Change-Id: Ie10c087b4f72ee27be5bf12e2c81be5b7a3a6176
Diffstat (limited to 'src/com/android/launcher3/folder/FolderPagedView.java')
-rw-r--r--src/com/android/launcher3/folder/FolderPagedView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/folder/FolderPagedView.java b/src/com/android/launcher3/folder/FolderPagedView.java
index 8aaeb9e37..650ca1931 100644
--- a/src/com/android/launcher3/folder/FolderPagedView.java
+++ b/src/com/android/launcher3/folder/FolderPagedView.java
@@ -486,7 +486,7 @@ public class FolderPagedView extends PagedView {
* Scrolls the current view by a fraction
*/
public void showScrollHint(int direction) {
- float fraction = (direction == DragController.SCROLL_LEFT) ^ mIsRtl
+ float fraction = (direction == Folder.SCROLL_LEFT) ^ mIsRtl
? -SCROLL_HINT_FRACTION : SCROLL_HINT_FRACTION;
int hint = (int) (fraction * getWidth());
int scroll = getScrollForPage(getNextPage()) + hint;