Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25f339fd authored by Yusuke Nojima's avatar Yusuke Nojima Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in calculateSweetSpotType()"

parents 904baab2 5d21c5c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 =