Merge "Fix bug in calculateSweetSpotType()"

This commit is contained in:
Yusuke Nojima 2011-10-02 22:42:32 -07:00 committed by Android (Google) Code Review
commit 25f339fd23

View file

@ -224,7 +224,7 @@ ProximityInfo::SweetSpotType ProximityInfo::calculateSweetSpotType(
return UNKNOWN;
}
const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex];
const float sweetSpotCenterY = mSweetSpotCenterXs[keyIndex];
const float sweetSpotCenterY = mSweetSpotCenterYs[keyIndex];
const float inputX = (float)mInputXCoordinates[index];
const float inputY = (float)mInputYCoordinates[index];
const float squaredDistance =