Loading src/com/android/settings/inputmethod/UserDictionaryCursorLoader.java +2 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,8 @@ public class UserDictionaryCursorLoader extends CursorLoader { hashSet.add(hash); result.addRow(new Object[]{id, word, shortcut}); } // The cursor needs to be closed after use, otherwise it will cause resource leakage candidate.close(); return result; } } Loading
src/com/android/settings/inputmethod/UserDictionaryCursorLoader.java +2 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,8 @@ public class UserDictionaryCursorLoader extends CursorLoader { hashSet.add(hash); result.addRow(new Object[]{id, word, shortcut}); } // The cursor needs to be closed after use, otherwise it will cause resource leakage candidate.close(); return result; } }