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

Commit 554fdd21 authored by satok's avatar satok
Browse files

Fix the touch calibration bug

Bug: 5629373
Change-Id: Iacc746e1cc97bf305e1f287cf7431b7115607eeb
parent 2549ce27
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -758,6 +758,9 @@ int Correction::RankingAlgorithm::calculateFinalFreq(const int inputIndex, const
                //         \             .
                // C        \            .
                //   0   R1 R2
                if (factor <= 0) {
                    return -1;
                }
                multiplyRate((int)(factor * 100), &finalFreq);
            } else if (squaredDistance == PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO) {
                multiplyRate(WORDS_WITH_PROXIMITY_CHARACTER_DEMOTION_RATE, &finalFreq);