Merge "[DO NOT MERGE] Fix NumberFormatException for launcher."
This commit is contained in:
committed by
Android (Google) Code Review
commit
a82498b98f
@@ -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