diff options
author | Yohei Yukawa <yukawa@google.com> | 2016-03-11 10:39:51 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2016-03-11 10:39:51 -0800 |
commit | 238faad984786f0227fe6c0cf6ea2a5ecff3a4bc (patch) | |
tree | 0fe6eb3c773b0dd14264227bfe7c3d9c646e9f7f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 80861ff1c0b3ca2c6cdf6fb4a224f3a015bd44bd (diff) |
Use LocaleUtils#filterByLanguage for non-keyboard subtypes.
With this CL, we expand the target of Bug 27129703 and Bug 27348943 to
non-keyboard subtypes.
Suppose there is a handwriting IME (mode == "handwriting") that supports
the following 5 subtypes.
- en-US
- en-GB
- fr
- sr-Cyrl
- sr-Latn
Also suppose the system languages are configured as follows.
1. sr-Latn-RS
2. ja-JP
3. fr-FR
4. en-GB
5. en-US
In this case we want to enable [sr-Latn, fr, en-GB] by default when
"use system language" is checked in the subtype enabler.
See previous commits [1][2] about how we addressed those issues for
keyboard subtypes.
[1]: Iaf179d60c12b9a98b4f097e2449471c4184e049b
e985c240e3feb62ea38d5b4e386be083ca0f215b
[2]: I8fc774154f5175abff2f16e8f12a4847bf5f5b7c
072a95a3094af2ced4f009ad62c4553c28e3f830
Bug: 27560993
Change-Id: I416b5671602c550805ed6267dd210968aa1de83c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions