LatinIME/java
Jean Chalard 7a408431fe Check the magic number of a decoded file
Checking the magic number of a file upon decoding is necessary,
because if the file is corrupt and we don't check it, we will
fall back to a simple copy of the corrupted file. Latin IME
would realize this and would not crash, but would not use the
corrupted dictionary. If this happened to be a main dictionary,
then the user would lose the ability to use the correct
built-in dictionary.

Not the same, but kinda similar to
Bug: 5223031

Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
2011-08-31 14:37:11 +09:00
..
res Update "search" icon 2011-08-30 14:38:19 +09:00
src/com/android/inputmethod Check the magic number of a decoded file 2011-08-31 14:37:11 +09:00
Android.mk Use InputMethodSettingsFragment 2011-07-09 11:25:54 +09:00
AndroidManifest.xml Add a settings activity for the spell checker. 2011-08-12 19:07:51 +09:00
MODULE_LICENSE_APACHE2 Clarify licensing 2010-04-05 09:47:36 -07:00
NOTICE Clarify licensing 2010-04-05 09:47:36 -07:00
proguard.flags Add a settings activity for the spell checker. 2011-08-12 19:07:51 +09:00