LatinIME/java/src/com/android/inputmethod/dictionarypack
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
..
ActionBatch.java Catch exceptions we can't do anything about. 2014-02-17 18:49:31 +09:00
AssetFileAddress.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
BadFormatException.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
ButtonSwitcher.java Fix a bug with bad view reuse. 2013-07-16 14:12:55 +09:00
CommonPreferences.java Remove some warnings 2014-01-09 14:04:34 +09:00
CompletedDownloadInfo.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
DictionaryDownloadProgressBar.java Catch exceptions we can't do anything about. 2014-02-17 18:49:31 +09:00
DictionaryListInterfaceState.java Fix a bug with bad view reuse. 2013-07-16 14:12:55 +09:00
DictionaryPackConstants.java Make intents unique to AOSP 2013-06-11 15:04:00 -07:00
DictionaryProvider.java Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
DictionaryService.java Fix some warnings 2013-07-31 16:17:01 +09:00
DictionarySettingsActivity.java Fix the security related API change for PreferenceActivity 2013-10-09 14:34:06 +09:00
DictionarySettingsFragment.java Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
DownloadManagerWrapper.java Avoid crashing when the Content URL is not found. 2014-02-18 14:27:58 +09:00
DownloadOverMeteredDialog.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
DownloadRecord.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
EventHandler.java Fix some warnings 2013-07-31 16:17:01 +09:00
LocaleUtils.java Use Locale.ROOT for locale neutral operations 2013-05-24 12:07:30 -07:00
LogProblemReporter.java Hide the correct button when pressing a new button. 2013-04-19 22:50:45 +09:00
MD5Calculator.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
MetadataDbHelper.java Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
MetadataHandler.java Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
MetadataParser.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
MetadataUriGetter.java Add an additional ID to the client info. 2013-04-23 14:37:15 +09:00
PrivateLog.java Hide the correct button when pressing a new button. 2013-04-19 22:50:45 +09:00
ProblemReporter.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
UpdateHandler.java Catch exceptions we can't do anything about. 2014-02-17 18:49:31 +09:00
WordListMetadata.java Merge the dictionary pack in Latin IME. 2013-03-19 15:40:14 +09:00
WordListPreference.java Fix a view-related crash 2014-02-14 18:03:34 +09:00