diff options
author | Yohei Yukawa <yukawa@google.com> | 2015-12-03 11:27:05 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2015-12-03 15:53:50 -0800 |
commit | 789d8fdbd9509e567cc3669c59e9e2dac2b57270 (patch) | |
tree | 3447df8db6ebdde5a05bf9a2ce5ae04703a2e361 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d78c5d7c701ed9939ae9918b1bd3ddef73f16515 (diff) |
Make LocaleList Parcelable.
This is a preparation work to pass LocaleList from TextView to IMEs via
EditorInfo.
Marshalling and unmrshlling LocaleList via Parcel is actually not so
difficult. We can reuse its internal data representation "localeTags"
as a canonical serialization format.
As for implementation, there are two choices. One is making LocaleList
Parcelable and the other is having a utility method to do that.
This CL uses Parcelable approach so that not only Framework but also
application developers can reuse the code.
Bug: 22859862
Change-Id: Ib28363bd5ff74228d2abeaa95004ec8bed72bddd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions