parent
195e0f715f
commit
b1e05d6638
|
@ -138,7 +138,7 @@ public class UserDictionary extends ExpandableDictionary {
|
||||||
|
|
||||||
private void addWords(Cursor cursor) {
|
private void addWords(Cursor cursor) {
|
||||||
clearDictionary();
|
clearDictionary();
|
||||||
|
if (cursor == null) return;
|
||||||
final int maxWordLength = getMaxWordLength();
|
final int maxWordLength = getMaxWordLength();
|
||||||
if (cursor.moveToFirst()) {
|
if (cursor.moveToFirst()) {
|
||||||
final int indexWord = cursor.getColumnIndex(Words.WORD);
|
final int indexWord = cursor.getColumnIndex(Words.WORD);
|
||||||
|
|
Loading…
Reference in New Issue