History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DictionarySettingsFragment.java
fdef4b73a605b563241d19a4fb56cd7b1b25ea84 19-Mar-2015 Ulas Kirazci <ulas@google.com> Do not access metadatadb from main thread.

Also fix Refresh button replicating itself on orientation change.

Bug: 19786650
Change-Id: I19a964d69d9141ba6515bbe19a120d4685628fe3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.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/DictionarySettingsFragment.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/DictionarySettingsFragment.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/DictionarySettingsFragment.java
b8ff8ca9d9d17f61f3f0e019ed0b62fe13d1a33f 18-Feb-2014 Jean Chalard <jchalard@google.com> 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
a7e3e74ddd714b7e22d5e5feb7e136dcb5dc1eda 14-Feb-2014 Jean Chalard <jchalard@google.com> Fix a view-related crash

Bug: 12788164
Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.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/DictionarySettingsFragment.java
26f489493eb3a1ccb9cb0ab55627bee4c74a6fd2 29-May-2013 Jean Chalard <jchalard@google.com> Fix the displayed status after download

Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
b3d150aa131da54582fd527ef71852499dcedea7 29-May-2013 Jean Chalard <jchalard@google.com> 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
a2ec5e8338c82f1e49c3d98f502dcc30c9c12fb0 09-May-2013 Jean Chalard <jchalard@google.com> 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
ab0c66b9d1f732a0dc372abd6d113d2cac33b8ac 24-Apr-2013 Jean Chalard <jchalard@google.com> [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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
c017f18a59a6b0ba1905a67193057b5b70410e06 24-Apr-2013 Jean Chalard <jchalard@google.com> [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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.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/DictionarySettingsFragment.java
28d5f4577fb4f598c201e55682a04bae2a8cf3ac 28-Mar-2013 Jean Chalard <jchalard@google.com> Fix an NPE

The code was passing the wrong parameter.

Bug: 8492879
Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.java
dae90cfb0160950b9f943f1a4885cf6852ab8a07 28-Mar-2013 Jean Chalard <jchalard@google.com> Cleanup

Seems there was an unclosed cursor :o

Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/DictionarySettingsFragment.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/DictionarySettingsFragment.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/DictionarySettingsFragment.java