aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-1155/+0
|
* Update language to comply with Android’s inclusive language guidanceSeigo Nonaka2020-07-221-1/+1
| | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: tapas LatinIME && m Change-Id: I2ffb39ff70f61e579b62761d3da526a545dead1f
* Load metadata.json from resources on DB reset.Dan Zivkovic2015-06-241-1/+1
| | | | | | | | | | | This will ensure that a new (or upgraded) keyboard instance will know which dictionaries are available for download so it requests missing dictionaries. In addition, we increment the database version number to ensure upgrades of existing Fava instances start with a clean slate. Bug 22069694. Change-Id: Id71310412682543a3931f9c5c03cb0369fa7b9ac
* Do not restrict downloads to WiFi networks.Dan Zivkovic2015-06-171-2/+0
| | | | | | Bug 21900337. Change-Id: I82991b492ea4c02a28a1ccc898d6f12741f1b793
* Update the DB version.Dan Zivkovic2015-05-081-1/+1
| | | | | | Bug 20103664. Change-Id: I1e2b72979df148d8aa71e3e58437a5853e63c261
* Metadata URI does not need additionalId.Dan Zivkovic2015-05-061-3/+4
| | | | | | Bug 20701628. Change-Id: Ifba1e7dd7f9934c8c13279dfb95bf02c0e30e650
* Do not throw NPE if the dictionary info is not available on dbMohammadinamul Sheik2015-04-021-0/+3
| | | | | Bug: 20035793 Change-Id: Idc13af405eab5457954a93db3dddcd81f6eb6435
* Force download the dictionaries after the apk package is updated.Mohammadinamul Sheik2015-03-241-0/+2
| | | | | | | | - Also display the notification when the dictionaries are auto updated Bug: 19808828 Change-Id: If5c4efb73d8bb554d812afcf7deafec3ac40a462
* Bump up the current metadata database version to 14.Mario Tanev2015-03-161-1/+1
| | | | Change-Id: I49057f117666291c2e9e7ba3c3627f75ffc3cca5
* Bump up the current metadata database version.Mario Tanev2015-03-131-1/+1
| | | | Change-Id: Id2814a2224b90ba124f1c9801760a2c86f2dc2e2
* Make checksum and header checks decoder dependent.Mohammadinamul Sheik2015-02-201-1/+1
| | | | Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
* Bumping metadata database version to 11.Adrian Velicu2014-11-141-1/+2
| | | | Change-Id: I19e2f701f3e2334355bfd7105f9b62dcb53cc209
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Avoid downloading the metadata in quick succession.Jean Chalard2014-10-011-6/+7
| | | | | | | Bug: 17668298 Bug: 8651816 Bug: 17709442 Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
* Attempt retry for broken dictionariesJatin Matani2014-09-031-10/+71
| | | | | | | | | 1. Add retry count column within metadata in dictionary pack. 2. Attempt a retry for download and installation by running StartDownloadAction. 3. If the number retrial are at the threshold, we don't attempt it again. Bug: 15150487 Change-Id: I70720353e5803fccf4728c2aa798883ba75c61e5
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-3/+3
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Increase the DB version for the next release.Jean Chalard2014-05-221-1/+1
| | | | | | Bug: 15065819 Change-Id: Ie43660109002fdb25ce68d7e64506ada0e15e621
* Add the rawChecksum column to the database.Jean Chalard2014-05-221-6/+31
| | | | | Bug: 13125743 Change-Id: I082aa9df1dd4a10cdb3f97ee0692f2d72f6c8e7e
* Reset the client database on version upgrade.Jean Chalard2014-04-031-10/+31
| | | | | Bug: 13632164 Change-Id: Iba333db63558254d760fc80244b3c9753c26b069
* Straighten out database cursors behavior.Jean Chalard2014-02-181-19/+39
| | | | | | | | | | | | | | | | | | | 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
* Fix a wrong call to cancel downloadsJean Chalard2013-07-111-7/+10
| | | | | | | This resulted in downloads not being correctly canceled. Bug: 9715797 Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
* Cleanup under the utils packageKen Wakasa2013-06-251-6/+6
| | | | Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-4/+5
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Fix an illegal argument exceptionJean Chalard2013-06-071-15/+13
| | | | | | | | | This is a bit of a shot in the dark, as I really don't see how this can happen, but this should fix it in the correct way no matter how it's actually happening. Bug: 9301836 Change-Id: I472865b7a78883942c9fd46773238c23788674f8
* Fix two strict mode warnings.Jean Chalard2013-05-301-11/+15
| | | | | Bug: 9052555 Change-Id: I86e90488679a78a9f6e901b640025619293765a0
* Add an additional ID to the client info.Jean Chalard2013-04-231-23/+64
| | | | | Bug: 8651863 Change-Id: I748f35726d72ede926d5b06ed87ff029317f1ac3
* Hide the correct button when pressing a new button.Jean Chalard2013-04-191-4/+1
| | | | | Bug: 7600384 Change-Id: Ic5dbbbbcf19d778dde1316ebb417f1a8ede2d25d
* Merge the dictionary pack in Latin IME.Jean Chalard2013-03-191-0/+978
Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172