summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/pageindicators
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-06-15 13:25:01 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-06-15 13:25:01 -0700
commit9417686f73488ee3c2943bcd0498166c09cd4f0b (patch)
tree7ceaadc99fee9fd57e557a2d652e0c931caf65c0 /src/com/android/launcher3/pageindicators
parent7d2fc8120e549eaa9542b0985aab67d172cbd682 (diff)
downloadandroid_packages_apps_Trebuchet-9417686f73488ee3c2943bcd0498166c09cd4f0b.tar.gz
android_packages_apps_Trebuchet-9417686f73488ee3c2943bcd0498166c09cd4f0b.tar.bz2
android_packages_apps_Trebuchet-9417686f73488ee3c2943bcd0498166c09cd4f0b.zip
Fix the build.
Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
Diffstat (limited to 'src/com/android/launcher3/pageindicators')
-rw-r--r--src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java b/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
index 7394426a4..2c157b408 100644
--- a/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
+++ b/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
@@ -151,7 +151,7 @@ public class PageIndicatorLineCaret extends PageIndicator {
// which extends to the top of the hotseat.
View parent = mLauncher.getDragLayer();
sTempCoords[0] = sTempCoords[1] = 0;
- Utilities.getDescendantCoordRelativeToParent(this, parent, sTempCoords, true);
+ Utilities.getDescendantCoordRelativeToAncestor(this, parent, sTempCoords, true);
mTouchHitRect.set(sTempCoords[0], sTempCoords[1], sTempCoords[0] + this.getWidth(),
sTempCoords[1] + getHeight() + mTouchExtensionHeight);
parent.setTouchDelegate(new TouchDelegate(mTouchHitRect, this));