Use parseInt when the result is assigned to an int. Allocates fewer objects. bug: 28078871 (cherry picked from commit a4db6676) Change-Id: I1e612dea34347d0ccf2bc47ca6c7219fd51a42a9