LatinIME/java/src/com/android/inputmethod
Jean Chalard b8ff8ca9d9 Straighten out database cursors behavior.
Some were never closed, other closed twice. This change
makes all Cursor instances behave, having the #close()
call in a finally{} clause, and puts the burden of closing
the cursor squarely on the creator rather than in the
called methods.
There is however one exception that is beyond the scope
of this change: UserDictionarySettings have a Cursor
member, it's never closed, and fixing the problem is not
obvious. This change adds a TODO for now.

It's not very clear if this change actually helps with
bug#12670151, but it may be related and it's a good
think to do anyway.

Bug: 12670151
Change-Id: I87cc44387e7dee3da1488671b93a28d9d73f7dc0
2014-02-18 19:58:23 +09:00
..
accessibility Remove unnecessary override of MainKeyboardView.dispatchTouchEvent 2014-02-17 17:09:06 +09:00
annotations
compat Add InputMethodSubtypeCompatUtils.isAsciiCapable() 2014-02-17 16:08:33 +09:00
dictionarypack Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
event
keyboard Merge "Remove unnecessary override of MainKeyboardView.dispatchTouchEvent" 2014-02-17 08:26:38 +00:00
latin Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
research Add PunctuationSuggestions class 2014-02-14 14:13:39 +09:00