diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2015-08-06 16:04:45 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2015-08-07 13:56:54 -0700 |
commit | 463b48203ab777e0b81632c480de3d1d6f608aa4 (patch) | |
tree | 37dd4516cf21f40e97ae4aa20bac28b5d72d572e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6e02fa01a023cea148e87899c9bdedf12c46075e (diff) |
Support all RTL scripts in getLayoutDirectionFromLocale().
Previously, only the languages written in Arabic and Hebrew were
considered right-to-left. Now, ICU is used to return the direction
of the language, which not only support other right-to-left scripts
(such as Thaana), but also has better logic to determine the
direction of the locale and uses caching to improve the speed.
Bug: 22559274
Change-Id: I760be7984a9b35ea77d59ca84a220798e205af36
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions