summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PagedView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-07-19 13:49:06 -0700
committerWinson Chung <winsonc@google.com>2013-07-25 14:50:49 -0700
commitc763c4e4d28c256d1368be3fc1c4526c8b9bd232 (patch)
tree6de9501f86f69463c2f6f2528ab6dfd277420acc /src/com/android/launcher3/PagedView.java
parent9c0565fe9385f92b7b2608d6506e4e5a7c500c2d (diff)
downloadandroid_packages_apps_Trebuchet-c763c4e4d28c256d1368be3fc1c4526c8b9bd232.tar.gz
android_packages_apps_Trebuchet-c763c4e4d28c256d1368be3fc1c4526c8b9bd232.tar.bz2
android_packages_apps_Trebuchet-c763c4e4d28c256d1368be3fc1c4526c8b9bd232.zip
Verifying that new applications are added and fixing issue with new items getting wrong ids.
- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
Diffstat (limited to 'src/com/android/launcher3/PagedView.java')
-rw-r--r--src/com/android/launcher3/PagedView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/PagedView.java b/src/com/android/launcher3/PagedView.java
index aaff58886..d53fd751f 100644
--- a/src/com/android/launcher3/PagedView.java
+++ b/src/com/android/launcher3/PagedView.java
@@ -983,7 +983,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
// Check if the right edge of the page is in the viewport
mTmpIntPoint[0] = currPage.getMeasuredWidth();
- DragLayer.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
+ Utilities.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
if (mTmpIntPoint[0] < 0) {
break;
}
@@ -993,7 +993,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
// Check if the left edge of the page is in the viewport
mTmpIntPoint[0] = 0;
- DragLayer.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
+ Utilities.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
if (mTmpIntPoint[0] >= viewportWidth) {
break;
}