diff options
| author | 2022-07-29 17:57:53 +0000 | |
|---|---|---|
| committer | 2022-07-29 18:39:10 +0000 | |
| commit | 838d33b4be5151842ff012e04151f02358888556 (patch) | |
| tree | 48808b085ca7bfc7cd9884aae39072ae95af739c /libs/androidfw/StringPool.cpp | |
| parent | 4dd9540f0e1d157b233a4c0d27c7f350b93f18c0 (diff) | |
locksettings: use ArrayUtils.concat(byte[]...)
Use the new byte array concatenation utility method where appropriate.
No change in behavior intended; this is just a cleanup. The new method
accepts null arrays, whereas most of the previous workarounds didn't,
but I don't see anywhere where this would make a difference.
Also use HexEncoding.encodeToString() in a couple places.
Test: atest com.android.server.locksettings
Test: atest LockscreenCredentialTest
Change-Id: I203018d7cba2721a9d0c4988708df7147e396dbe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions