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
Please register or sign in to comment