am 949045b6: Merge "Be always confident in the current language when only one"
* commit '949045b6a3582c52191c8f44698ee92568b52724': Be always confident in the current language when only onemain
commit
8fc596ed17
|
@ -301,6 +301,9 @@ public class DictionaryFacilitator {
|
|||
if (!mostProbableDictionaryGroup.mLocale.equals(mLocale)) {
|
||||
return false;
|
||||
}
|
||||
if (mDictionaryGroups.length <= 1) {
|
||||
return true;
|
||||
}
|
||||
return mostProbableDictionaryGroup.mConfidence >= CONFIDENCE_THRESHOLD;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue