[DO NOT MERGE] Fix NumberFormatException for launcher.
Fix is already in ub-launcher3-master: I5094b22ddc77c45590cea1a5f5dead0dc7580abf Bug: 140076379 Change-Id: I01948cf71ef2e058dc1ef8c506f174856ee09e0d (cherry picked from commitd49fe3130e) (cherry picked from commit241cd90203)
This commit is contained in:
committed by
android-build-team Robot
parent
6eb4b1ef6a
commit
b56ecb154e
@@ -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