History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b0653168fa54d3744585c031e609330cd15d2f1 07-Sep-2016 Makoto Onuki <omakoto@google.com> Fix the labeling issue when mixing Japanese/Trad-Chinese.

When JapaneseContactUtils is used, stroke counts shouldn't
be used.

Bug 31115382

Change-Id: If5ed2efb04fbd9d5b945544ba8fa113d658a3fd0
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
2ee1d54fa1e22b2c88897c1a60e7f642a81f9562 29-Aug-2016 Makoto Onuki <omakoto@google.com> Fix multi-locale issues

- Don't ignore LOCALE_CHANGED sent when CP2 is already updating
locales.

- Don't add multiple Chinese locales.

- Don't add any Chinese locales after Japanese.

- Also fix the flakiness in the test.

Bug 31115382

Change-Id: Ib17d08f7947cb02aa7052d8ed6b67690361c47bf
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
a156e670c44e4178821650b7f488b429405757a1 18-May-2016 Seigo Nonaka <nona@google.com> Fix build break.

The LocaleList location is changed from android.util to android.os by
Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

Bug: 28819696
Change-Id: I8fb59f6d2b3ca4294fec93d809608a3685d6b34e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
85914ae47ef3c9cf7068cdd570c6d07df5f6f24b 02-Feb-2016 Makoto Onuki <omakoto@google.com> Improve and clean up multi-locale support

Addressed comments on I4ff7e7d51

Bug 26142164

Change-Id: I0cb10d47375adfb8efffb1102adb3daa9043bbf1
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
2a237a4ade82ac8b3c3b9d6ce36cfb0fe6afe702 25-Jan-2016 Makoto Onuki <omakoto@google.com> Use LocaleList to support multi-locale to improve name "bucketing".

We used to keep the previous locale on the locale change event
and used it as the secondary locale, but now that the framework
officially supports "LocaleList", we switch to the new mechanism.

On the contacts app, this affects the name "buckets". Adding more
locales means you may get more buckets for the letters specific to
these locales.

- Now ContactLocaleUtilsTest doesn't check supported collators.
Turned out quite a few collators were considered missing (because now
they're tied to languages, not language-country pares?) and were
simply skipped. In the meantime, apparently the labels for some
languages have changed.

Bug 26142164

Change-Id: I4ff7e7d51d000adb6b996eb77da07af5cd44849f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java
d4dbd063cf88e70b045607aa865b2fdb2329bf45 17-Oct-2013 Jay Shrauner <shrauner@google.com> Support secondary locales

Add support for tracking a secondary locale in addition to the current
primary locale for CP2. Switch to using parseable ICU language tag
(eg, "en-US") for locale tag written to DB. Secondary locale is set to
previous locale on locale change and persisted in CP2 DB and prefs.

Bug:8715226
Change-Id: Ia68397fd9118d89f3a45ac54f991f86bad42870e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LocaleSet.java