mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix possible NPE in debug mode"
This commit is contained in:
commit
3d36cdcd2d
@ -443,8 +443,10 @@ public class AndroidSpellCheckerService extends SpellCheckerService {
|
|||||||
Log.i(TAG, "IsInDict = " + isInDict);
|
Log.i(TAG, "IsInDict = " + isInDict);
|
||||||
Log.i(TAG, "LooksLikeTypo = " + (!isInDict));
|
Log.i(TAG, "LooksLikeTypo = " + (!isInDict));
|
||||||
Log.i(TAG, "HasLikelySuggestions = " + result.mHasLikelySuggestions);
|
Log.i(TAG, "HasLikelySuggestions = " + result.mHasLikelySuggestions);
|
||||||
for (String suggestion : result.mSuggestions) {
|
if (null != result.mSuggestions) {
|
||||||
Log.i(TAG, suggestion);
|
for (String suggestion : result.mSuggestions) {
|
||||||
|
Log.i(TAG, suggestion);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user