d23dd5978d60322613c0148556032cbce37e81b7 |
|
26-Jun-2015 |
Dan Zivkovic <zivkovic@google.com> |
Don't prompt before downloading. We don't pay attention to the answer, so don't ask. Bug 22069694. Change-Id: Ic048d5570e68fbc9438c6577e27e6c7f68428606
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
5e4c0caac31edcb48e851b2aefe7851c69abaf36 |
|
25-Jun-2015 |
Dan Zivkovic <zivkovic@google.com> |
Add some more logging. Why not. Change-Id: I536212e1b3c35d75ed93f9ab3762908e3deb9a97
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
3aad142435510feb575a6a9af0581fc84df6cabd |
|
25-Jun-2015 |
Dan Zivkovic <zivkovic@google.com> |
Load metadata.json from resources on DB reset. 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
02c28453fca0c8feeba295ea51c28adeca7423c9 |
|
17-Jun-2015 |
Dan Zivkovic <zivkovic@google.com> |
Do not restrict downloads to WiFi networks. Bug 21900337. Change-Id: I82991b492ea4c02a28a1ccc898d6f12741f1b793
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
851a8b54897811fbb7fcaaf1680a6b8a1df362ee |
|
16-Jun-2015 |
Mohammadinamul Sheik <inamul@google.com> |
Hide Notification when downloading the keyboard metadata Bug: 21797386 Change-Id: Iebe9d2f18c5c8325a5601d49d8c4c65166b67036
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
a0d9c82921022347e44d416bb57810331e35e446 |
|
04-May-2015 |
Mohammadinamul Sheik <inamul@google.com> |
Make the DictionaryService stage the downloaded files Bug: 20641948 Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
3a5de64110eab7ae0b6b1da86b5ce30d5b16bd7a |
|
15-Apr-2015 |
Mohammadinamul Sheik <inamul@google.com> |
Do not re-download the unused dictionaries. Does the following 1. Uses dictionaries from the files/ directory while populating the entries into the pendingUpdates table. So that a download happens only if the metadata.json says so. 2. Delete an unusable dictionaries from the files/ directory. Bug: 20142708 Change-Id: Ibd738793585c39735868e324b8ad682dff0eba34
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
9a3598b0ee8ab5d8b90e35d65190ecea1aef7828 |
|
03-Apr-2015 |
Mohammadinamul Sheik <inamul@google.com> |
Do not throw NPE if the dictionary info is not available on db Bug: 20035793 Change-Id: Idc13af405eab5457954a93db3dddcd81f6eb6435
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
3bc3bc7971f15438732933cfac0db6e766e6a3e9 |
|
24-Mar-2015 |
Mohammadinamul Sheik <inamul@google.com> |
Force download the dictionaries after the apk package is updated. - Also display the notification when the dictionaries are auto updated Bug: 19808828 Change-Id: If5c4efb73d8bb554d812afcf7deafec3ac40a462
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
ebe5b42f71bd63973edffbda691b498611326c6f |
|
17-Nov-2014 |
Tadashi G. Takaoka <takaoka@google.com> |
Make LocaleUtils.constructLocaleFromString as @Nonnull Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
de29278592a15fbd61c4ab5052d45e1b137c7e9b |
|
12-Nov-2014 |
Adrian Velicu <adrianv@google.com> |
UpdateHandler to support v202 dicts. Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
5b91b551e5ffaf2c2e691dfbd434f21c82293986 |
|
06-Nov-2014 |
Jean Chalard <jchalard@google.com> |
Move util classes under common Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
5f00fe09e9a611b647592188316e5999465df4d3 |
|
20-Oct-2014 |
Tadashi G. Takaoka <takaoka@google.com> |
Fix some compiler warnings 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
9d92d3e02d135a510b124f4a31a4721e43a11151 |
|
30-Sep-2014 |
Jean Chalard <jchalard@google.com> |
Avoid downloading the metadata in quick succession. Bug: 17668298 Bug: 8651816 Bug: 17709442 Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
256b1b2a1e054773987a0672b4ac3c867a4dbd27 |
|
02-Sep-2014 |
Jatin Matani <jatinm@google.com> |
Attempt retry for broken dictionaries 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
a2928484f6396cfc308acb7ac68c4a20455a118c |
|
28-Aug-2014 |
Jean Chalard <jchalard@google.com> |
Add new attributes to our notification Bug: 17167221 Bug: 17128331 Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
a91561aa58db1c43092c1caecc051a11fa5391c7 |
|
23-May-2014 |
Tadashi G. Takaoka <takaoka@google.com> |
Use Java 7 diamond operator Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
a149731a6764f259b7d15e05a2f557a3bdd23aab |
|
17-Feb-2014 |
Jean Chalard <jchalard@google.com> |
Catch exceptions we can't do anything about. This also abstracts away the "package deactivated" case for simpler and safer code. Bug: 11072561 Change-Id: Idaaf2ae8d8d5b2c4a15de641bbf2f8c5c7cc9410
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
faa729c47c2d9ad739c288cc1ece910bc4e215e7 |
|
10-Jul-2013 |
Jean Chalard <jchalard@google.com> |
Fix a wrong call to cancel downloads This resulted in downloads not being correctly canceled. Bug: 9715797 Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
4be6198cb73cc24e10834153c4e049644ed187e3 |
|
05-Jul-2013 |
Tadashi G. Takaoka <takaoka@google.com> |
Reorganize Utils class Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
3f0858eb2bcb9414dd94e01991b02c785af7b871 |
|
28-Jun-2013 |
Jean Chalard <jchalard@google.com> |
Fix a bug where no URL means refresh never ends This patch does two things: - If there is no URL to download new data from, then the Refresh button is not shown. - Even if for some reason refresh starts for a client for which there is no URL, loading correctly finishes. Bug: 9388602 Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
03118a276014cd44d44d0d46f4f39622765e8e0c |
|
25-Jun-2013 |
Ken Wakasa <kwakasa@google.com> |
Cleanup under the utils package Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
e28eba5074664d5716b8e58b8d0a235746b261eb |
|
23-Jun-2013 |
Ken Wakasa <kwakasa@google.com> |
Move util classes to the latin/utils directory Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
43590149a5c2073a9fc8e3ed6afbf21fb017193e |
|
25-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Work around a bug in older DownloadManager versions. This adds a number to the extension. Note that for DownloadManager to keep this, the server needs to send it a mime type it does not recognize. Right now, it does not recognize application/json so it's okay, but we'd do well to remove the content/type header from the server to prevent problems. Bug: 8467516 Change-Id: Ic484f66ac3f67c36f59f2c0bcb8c7fdeb6e8590d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
f8014eea341040f8d155e071e4e0c915a7ebd61d |
|
16-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Hide the correct button when pressing a new button. Bug: 7600384 Change-Id: Ic5dbbbbcf19d778dde1316ebb417f1a8ede2d25d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
77e26e1c29632b73997cfaea9cd9ebb57a2dea73 |
|
18-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Fix an infinite loop What do you mean "Can't happen"? It happens all the time - the empty string is the default ID, and it needs to be updated like everyone else. Bug: 8651858 Change-Id: I5a2f2ebb5b2ef08b27f26be8fb2c3d2f231ebcfc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
76d5f512f99700a963aa20a02590833e37221bff |
|
28-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Ask the client to make itself known when it's not Upon invoking the settings of the dictionary pack with an unknown client, we now launch an intent to ask the client to make itself known. This change also includes the code that receives this intent and acts upon it. Bug: 8492879 Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
1061bfdb34bbcb63bf0046eec42313d264ac33fa |
|
19-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Break dependencies to allow offdevice tests to build Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|
0cc0544a2995c7eb54a830ae54db60af89d4073d |
|
15-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Merge the dictionary pack in Latin IME. Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
|