Skip to content
Commit 71eee99f authored by Sandro Gržičić's avatar Sandro Gržičić
Browse files

Now calling .trim() to each array String element when parsing them to Ints/Longs

When a vibration pattern is sent as e.g. [0, 150, 250, 100], or a ledColor as e.g. [0, 255, 127, 64], the space after each comma will now be trimmed, which would otherwise cause a NumberFormatException when trying to parseInt/parseLong the string " 0255".
parent 15b76632
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment