| Commit message (Expand) | Author | Age | Files | Lines |
* | Make the DictionaryService stage the downloaded files•••Bug: 20641948
Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
|  Mohammadinamul Sheik | 2015-05-04 | 2 | -0/+12 |
* | 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
|  Mohammadinamul Sheik | 2015-04-15 | 2 | -2/+5 |
* | Do not throw NPE if the dictionary info is not available on db•••Bug: 20035793
Change-Id: Idc13af405eab5457954a93db3dddcd81f6eb6435
|  Mohammadinamul Sheik | 2015-04-02 | 4 | -2/+22 |
* | 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
|  Mohammadinamul Sheik | 2015-03-24 | 5 | -9/+50 |
* | DO NOT MERGE. Do not access metadatadb from main thread.•••Also fix Refresh button replicating itself on orientation change.
Bug: 19786650
Change-Id: I19a964d69d9141ba6515bbe19a120d4685628fe3
|  Ulas Kirazci | 2015-03-20 | 1 | -20/+44 |
* | Bump up the current metadata database version to 14.•••Change-Id: I49057f117666291c2e9e7ba3c3627f75ffc3cca5
|  Mario Tanev | 2015-03-16 | 1 | -1/+1 |
* | Log.i on dictionary download start•••Change-Id: I8b501fb5512d4d3bbca75e4c4be7c7eb95f32020
|  Mohammadinamul Sheik | 2015-03-13 | 1 | -0/+2 |
* | Bump up the current metadata database version.•••Change-Id: Id2814a2224b90ba124f1c9801760a2c86f2dc2e2
|  Mario Tanev | 2015-03-13 | 1 | -1/+1 |
* | Make checksum and header checks decoder dependent.•••Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
|  Mohammadinamul Sheik | 2015-02-20 | 1 | -1/+1 |
* | Make LocaleUtils.constructLocaleFromString as @Nonnull•••Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
|  Tadashi G. Takaoka | 2014-11-21 | 3 | -11/+21 |
* | Bumping metadata database version to 11.•••Change-Id: I19e2f701f3e2334355bfd7105f9b62dcb53cc209
|  Adrian Velicu | 2014-11-14 | 1 | -1/+2 |
* | UpdateHandler to support v202 dicts.•••Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
|  Adrian Velicu | 2014-11-12 | 1 | -1/+3 |
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|  Jean Chalard | 2014-11-07 | 6 | -187/+6 |
* | Remove a useless method.•••Yay for cleanup
Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
|  Jean Chalard | 2014-11-06 | 1 | -17/+0 |
* | Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
|  Tadashi G. Takaoka | 2014-10-23 | 2 | -2/+13 |
* | 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
|  Tadashi G. Takaoka | 2014-10-21 | 11 | -223/+219 |
* | Avoid downloading the metadata in quick succession.•••Bug: 17668298
Bug: 8651816
Bug: 17709442
Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
|  Jean Chalard | 2014-10-01 | 4 | -26/+79 |
* | Remove some logs which spam encrypted boot•••Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
|  Jean Chalard | 2014-09-19 | 1 | -10/+8 |
* | 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
|  Jatin Matani | 2014-09-03 | 7 | -60/+170 |
* | Add new attributes to our notification•••Bug: 17167221
Bug: 17128331
Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
|  Jean Chalard | 2014-08-28 | 1 | -3/+10 |
* | DO NOT MERGE: Abolish source code overlay and introduce overridable src dir•••This should make IDEs happy with appropriate source code directory
selection.
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
(cherry picked from commit fb74ab15c1343084740d65ef8744cad33a678e82) |  Ken Wakasa | 2014-08-20 | 2 | -98/+0 |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 10 | -28/+22 |
* | Increase the DB version for the next release.•••Bug: 15065819
Change-Id: Ie43660109002fdb25ce68d7e64506ada0e15e621
|  Jean Chalard | 2014-05-22 | 1 | -1/+1 |
* | Check the md5 checksum of the copied file.•••If it doesn't match, mark it broken. It means the dictionary pack
will try to install it again next time it updates. We may want to
rethink this.
Bug: 13125743
Change-Id: I0eb547aa7066bed8cb00c009debbafe9181c37ad
|  Jean Chalard | 2014-05-22 | 1 | -1/+1 |
* | Arrange to send the rawChecksum to LatinIME.•••Bug: 13125743
Change-Id: I5d111336e6a0f5ab4e93ff333654a7a1f8f46480
|  Jean Chalard | 2014-05-22 | 1 | -4/+12 |
* | Add the rawChecksum column to the database.•••Bug: 13125743
Change-Id: I082aa9df1dd4a10cdb3f97ee0692f2d72f6c8e7e
|  Jean Chalard | 2014-05-22 | 5 | -15/+52 |
* | Reset the client database on version upgrade.•••Bug: 13632164
Change-Id: Iba333db63558254d760fc80244b3c9753c26b069
|  Jean Chalard | 2014-04-03 | 1 | -10/+31 |
* | 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
|  Jean Chalard | 2014-02-18 | 4 | -84/+114 |
* | Avoid crashing when the Content URL is not found.•••I'm not sure when this can happen, but it seems it does
at least on older versions of the platform. Let's avoid
crashing.
Bug: 11618402
Change-Id: If730b5bd8f20e0f60b884eab5900099116afc5f0
|  Jean Chalard | 2014-02-18 | 1 | -0/+10 |
* | Merge "Catch exceptions we can't do anything about." |  Jean Chalard | 2014-02-17 | 4 | -44/+118 |
|\ |
|
| * | 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
|  Jean Chalard | 2014-02-17 | 4 | -44/+118 |
* | | Fix a view-related crash•••Bug: 12788164
Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e
|  Jean Chalard | 2014-02-14 | 2 | -5/+14 |
|/ |
|
* | Remove some warnings•••Change-Id: I5cfa0d2fccc139bd6c45c5590a68c3e0c90534b8
|  Jean Chalard | 2014-01-09 | 2 | -1/+2 |
* | Fix the security related API change for PreferenceActivity•••Bug: 10118761
Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
|  Satoshi Kataoka | 2013-10-09 | 1 | -1/+3 |
* | Correspond to the security related API change for PreferenceActivity•••Bug: 10118761
Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
|  Satoshi Kataoka | 2013-10-02 | 1 | -1/+9 |
* | Fix some warnings•••Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
|  Jean Chalard | 2013-07-31 | 3 | -5/+0 |
* | Merge "Serialize commands sent to a separate threads" |  Jean Chalard | 2013-07-16 | 1 | -25/+34 |
|\ |
|
| * | Serialize commands sent to a separate threads•••Bug: 9715797
Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
|  Jean Chalard | 2013-07-16 | 1 | -25/+34 |
* | | Merge "Fix a bug with bad view reuse." |  Jean Chalard | 2013-07-16 | 3 | -2/+9 |
|\ \ |
|
| * | | Fix a bug with bad view reuse.•••There are many ways to fix this problem but this is the most
direct way. Removing a view from the cache when any animation
is started will ensure it won't be used again, and will be garbage
collected when it's possible. Since views are created on demand
anyway, a new one will just get created when needed, and that's
it.
Bug: 9400128
Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
|  Jean Chalard | 2013-07-16 | 3 | -2/+9 |
| |/ |
|
* / | Fix a wrong call to cancel downloads•••This resulted in downloads not being correctly canceled.
Bug: 9715797
Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
|  Jean Chalard | 2013-07-11 | 2 | -19/+22 |
|/ |
|
* | Reorganize Utils class•••Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
|  Tadashi G. Takaoka | 2013-07-05 | 2 | -4/+4 |
* | Use TimeUnit instead of DateUtils for readability•••Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
|  Tadashi G. Takaoka | 2013-07-05 | 1 | -4/+4 |
* | 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
|  Jean Chalard | 2013-07-01 | 3 | -10/+29 |
* | Cleanup under the utils package•••Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
|  Ken Wakasa | 2013-06-25 | 4 | -57/+57 |
* | Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
|  Ken Wakasa | 2013-06-24 | 6 | -159/+62 |
* | Make intents unique to AOSP•••This is to avoid confusion if multiple IMEs are installed with
dictionary pack components
Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
|  Kurt Partridge | 2013-06-11 | 2 | -10/+12 |
* | Fix an illegal argument exception•••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
|  Jean Chalard | 2013-06-07 | 1 | -15/+13 |
* | Fix the displayed status after download•••Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
|  Jean Chalard | 2013-05-31 | 2 | -16/+9 |
* | Fix two strict mode warnings.•••Bug: 9052555
Change-Id: I86e90488679a78a9f6e901b640025619293765a0
|  Jean Chalard | 2013-05-30 | 1 | -11/+15 |