commit | 4bd017d6a5437f153b2b0a149a5dde0b85bf6907 | [log] [tgz] |
---|---|---|
author | Tobias Thierer <tobiast@google.com> | Thu Apr 21 14:52:10 2016 +0100 |
committer | Tobias Thierer <tobiast@google.com> | Thu Apr 21 16:23:56 2016 +0100 |
tree | 738907bd48a30c57d1a430b8d8187d6cb3d6f218 | |
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