aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-0/+2
* 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. Takaoka2014-10-211-82/+73
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-7/+6
* 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 Chalard2014-02-181-55/+62
* Fix a view-related crash•••Bug: 12788164 Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e Jean Chalard2014-02-141-5/+9
* 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 Chalard2013-07-011-5/+20
* Fix the displayed status after download•••Bug: 9166225 Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c Jean Chalard2013-05-311-14/+2
* Fix dictionary pack preference order.•••It turns out giving them in the right order is not enough, you also have to actually give them a numeric priority. Bug: 9165928 Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363 Jean Chalard2013-05-301-0/+2
* Reuse old preferences if possible.•••This is an optimization. It also happens to work around what seems to be a framework bug in JB MR1 / MR1.1. Bug: 8771179 Change-Id: I62cc7acdc8656d75f8a50c068c4e9d8c6ceb74a0 Jean Chalard2013-05-101-7/+24
* [PB10] Add a progress bar to display file download progress•••The progress bar is showing but doesn't show progress yet. Bug: 7600384 Change-Id: I80debd3f4368e82e4184a6c638bdcc8e48ed2305 Jean Chalard2013-04-261-1/+3
* [PB4] Make a memory non-static•••The life span of this object is actually the life span of the interface. It should not be static. Also, we'll have a few other things to store in there soon. Bug: 7600384 Change-Id: I708019e9ee53653e83a1e52c8e76326c3e39bcf3 Jean Chalard2013-04-241-2/+5
* 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 Jean Chalard2013-04-011-1/+15
* Fix an NPE•••The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502 Jean Chalard2013-03-281-2/+1
* Cleanup•••Seems there was an unclosed cursor :o Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116 Jean Chalard2013-03-281-0/+5
* Break dependencies to allow offdevice tests to build•••Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1 Jean Chalard2013-03-191-1/+2
* Merge the dictionary pack in Latin IME.•••Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172 Jean Chalard2013-03-191-0/+365