diff options
author | Yohei Yukawa <yukawa@google.com> | 2018-10-31 14:31:35 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2018-10-31 14:45:52 -0700 |
commit | 5e46a66c6d3647822de808e9265b1813b6c4bade (patch) | |
tree | 31f7e0aa2fd6d39a371581e4c49f598cefb197e1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 00e3e1b20320953ace3262340ca039e11fb56b29 (diff) |
Use StringJoiner in InputMethodDebug
This is a follow up CL to my previous CL [1], which added
InputMethodDebug#softInputModeToString().
It turns out that there is already a nice utility class
java.util.StringJoiner that can deal with delimiter when joining
multiple string tokens.
This CL also adds some simple unit tests for InputMethodDebug.
[1]: I83f4795e95bc2e8ae325ad6e28d3a42317414e8d
a468d70e5f3172123933c1585f7e9d9316d416ab
Bug: 118040692
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.InputMethodDebugTest
Change-Id: I55fcdecee108b3e56bf7fd480d6f71de580dcbf6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions