mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove old debug code that has been long broken (A34)
Change-Id: I9b5a0e34529724984aad1e2bf99b3e00f8ed0dd7
This commit is contained in:
parent
105069a15f
commit
1842fbba93
@ -336,9 +336,8 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
|
|||||||
if (LatinImeLogger.sDBG && suggestedWords.size() > 1) {
|
if (LatinImeLogger.sDBG && suggestedWords.size() > 1) {
|
||||||
// If we auto-correct, then the autocorrection is in slot 0 and the typed word
|
// If we auto-correct, then the autocorrection is in slot 0 and the typed word
|
||||||
// is in slot 1.
|
// is in slot 1.
|
||||||
if (index == mCenterSuggestionIndex && suggestedWords.mHasAutoCorrectionCandidate
|
if (index == mCenterSuggestionIndex && Suggest.shouldBlockAutoCorrectionBySafetyNet(
|
||||||
&& Suggest.shouldBlockAutoCorrectionBySafetyNet(
|
suggestedWords.getWord(1).toString(), suggestedWords.getWord(0))) {
|
||||||
suggestedWords.getWord(1).toString(), suggestedWords.getWord(0))) {
|
|
||||||
return 0xFFFF0000;
|
return 0xFFFF0000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user