Fix the build.

Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
This commit is contained in:
Hyunyoung Song
2016-06-15 13:25:01 -07:00
parent 7d2fc8120e
commit 9417686f73

View File

@@ -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));