diff options
author | Tobias Thierer <tobiast@google.com> | 2016-04-21 14:52:10 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2016-04-21 16:23:56 +0100 |
commit | 4bd017d6a5437f153b2b0a149a5dde0b85bf6907 (patch) | |
tree | 738907bd48a30c57d1a430b8d8187d6cb3d6f218 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 570a13f0cb233b4a216243025a9fed3df3c72849 (diff) |
frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()
Tested: built frameworks/base successfully.
Bug: 28289401
Change-Id: I1fad536853a68c7b0707cbf02989aca155064843
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions