Tidy up uses of Integer.valueOf.
authorNarayan Kamath <narayan@google.com>
Tue, 19 Apr 2016 11:01:11 +0000 (12:01 +0100)
committerNarayan Kamath <narayan@google.com>
Tue, 19 Apr 2016 11:01:11 +0000 (12:01 +0100)
commit57b29e71e0dafa2a9d0ff1dc953796d7a350072f
treedb13b7b33c4c7301f302ae976e48f9b2ccf98383
parenta8bbae54b9533d560dc3c81c0858de0f99fed0ee
Tidy up uses of Integer.valueOf.

Use parseInt when the result is assigned to an int. Allocates fewer
objects.

bug: 28078871
Change-Id: I2c58112795fecce6395c558f2bb1e1fefe83a5bf
tests/src/com/android/providers/downloads/DownloadProviderFunctionalTest.java