commit | e489baf96df2837a3a63b626d9023a4a8b322c28 | [log] [tgz] |
---|---|---|
author | Yohei Yukawa <yukawa@google.com> | Mon Apr 11 22:09:57 2016 -0700 |
committer | Yohei Yukawa <yukawa@google.com> | Wed Apr 13 05:30:23 2016 +0000 |
tree | 4b850551d50dd1ba8f07077a1d93e832388cb0e8 | |
parent | e544d408c06fe3e6bc3b237f718b56f03f079f29 [diff] |
Improve captalization in InputMethodSubtype#getDisplayName(). The goal of this CL is to enable InputMethodSubtype#getLocaleDisplayName() to return more natural locale display name in terms of capitalization rules. The key idea here is to use LocaleDisplayNames#localeDisplayName() with an appropriate DisplayContext.CAPITALIZATION_FOR_* parameter rather than relying on Locale#getDisplayName(). Bug: 22845728 Change-Id: If105082ce703db7a86738455db7e9fb37f3c6fe8