Merge "Fix bug in calculateSweetSpotType()"

main
Yusuke Nojima 2011-10-02 22:42:32 -07:00 committed by Android (Google) Code Review
commit 25f339fd23
1 changed files with 1 additions and 1 deletions

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 =