diff options
author | Yohei Yukawa <yukawa@google.com> | 2016-01-27 22:04:09 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2016-01-29 00:30:00 +0000 |
commit | 5660fad79808c6d1823a7135b283003b0947773a (patch) | |
tree | 738a0a8b61670ee273d145bf161f626f8e1facb3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e97a3cc4ca57306ea9ab75275fee178f3cfac5c9 (diff) |
Use LocaleList in KeyboardLayout.
As an exercise for a new API candidate LocaleList class, this CL does a
mechanical refactoring to replace Locale[] with LocaleList in
KeyboardLayout class. Note that what changed in this CL is just an
implementation details that is never exposed to application developers.
One take-away from this exercise is that finding the best-match locale from
an ordered locale list is really a common pattern. Perhaps we may want
to have a guideline for this kind of situation.
Change-Id: I142379afbaf24d524ff09cf6c7ee7720150f7489
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions