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

Commit 0e8b1db9 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Cleanup, part 6 (C6)"

parents c03bd090 c5f1d998
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -249,14 +249,6 @@ public class Suggest implements Dictionary.WordCallback {
                true /* isPrediction */);
    }

    // Wrapper for test compatibility. TODO: remove this method
    public SuggestedWords getSuggestedWords(
            final WordComposer wordComposer, CharSequence prevWordForBigram,
            final ProximityInfo proximityInfo, final int correctionMode) {
        return getSuggestedWords(wordComposer, prevWordForBigram, proximityInfo,
                Suggest.CORRECTION_FULL == correctionMode);
    }

    // TODO: cleanup dictionaries looking up and suggestions building with SuggestedWords.Builder
    public SuggestedWords getSuggestedWords(
            final WordComposer wordComposer, CharSequence prevWordForBigram,