[DO NOT MERGE] Fix NumberFormatException for launcher.
Fix is already in ub-launcher3-master: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
Bug: 140076379
Change-Id: I01948cf71ef2e058dc1ef8c506f174856ee09e0d
(cherry picked from commit d49fe3130e)
This commit is contained in:
committed by
Jonathan Miranda
parent
151970d535
commit
241cd90203
@@ -732,7 +732,7 @@ public final class Utilities {
|
||||
int[] array = new int[tokenizer.countTokens()];
|
||||
int count = 0;
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
array[count] = Integer.parseInt(tokenizer.nextToken());
|
||||
array[count] = Integer.parseInt(tokenizer.nextToken().trim());
|
||||
count++;
|
||||
}
|
||||
return array;
|
||||
|
||||
Reference in New Issue
Block a user