commit | 4d015b17b308d93b868102c718f02c4bcd53e52a | [log] [tgz] |
---|---|---|
author | jyhshiangwang <jyhshiangwang@google.com> | Tue Apr 24 16:05:57 2018 +0800 |
committer | jyhshiangwang <jyhshiangwang@google.com> | Wed May 02 11:15:32 2018 +0800 |
tree | c5505f45d1ebac3e5b9d06fd7bb4e1e57b729e00 | |
parent | 7c45f5947855d3ece5325512137ce18279a5e905 [diff] |
Use ListFormatter to join strings Currently in Settings we are using R.string.join_many_items_first, R.string.join_many_items_middle and R.string.join_many_items_last to manually join strings. The join code is messy and the joined string is incorrect in some languages, so we migrate all string join to just use ListFormatter.getInstance().format(). Bug: b/78248791 Test: robotests Change-Id: I898339978e6e2027587e28994b0280fa46821fd6