summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-10-03 15:23:02 -0600
committerJeff Sharkey <jsharkey@android.com>2019-10-05 10:26:24 -0600
commit85e90d09e1d033912b91ddd66362ee71f9083590 (patch)
treec6ec8cdf8190c6329836cf47848445a22b64c4da /tools/aapt2/java/JavaClassGenerator_test.cpp
parent74ccee9f2380a3ba7a2a1b6cde63d500be71461b (diff)
New argument to hint at locale to use for sorting.
We've heard that some developers want more detailed influence over the sort order applied internally inside of a ContentProvider. For example, when the locale is "zh", the caller may want to sort using either "pinyin" or "zhuyin" style collations. Thankfully ICU already supports this type of collation control when creating a ULocale object, and it also supports other useful types such as "de@collation=phonebook". Thus this CL adds a new QUERY_ARG_SORT_LOCALE that can be used to pass an ICU locale string into a ContentProvider. Similar to the other existing query arguments, we know that only certain providers may support this new option, so we document that it should be included in EXTRA_HONORED_ARGS when applied. Bug: 140248907 Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java Change-Id: I3277725ecd21a58680f2b8a5cc62514184d9e179
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions