Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 838d33b4 authored by Eric Biggers's avatar Eric Biggers
Browse files

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
parent 4dd9540f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment