am 25f339fd: Merge "Fix bug in calculateSweetSpotType()"

* commit '25f339fd23fea22036318c47badff1b43d635a46':
  Fix bug in calculateSweetSpotType()
This commit is contained in:
Yusuke Nojima 2011-10-02 22:44:25 -07:00 committed by Android Git Automerger
commit b9d0c04930

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 =