commit | 28532d00267c73b8e0fa5235169fa72c414e1cd0 | [log] [tgz] |
---|---|---|
author | Tobias Thierer <tobiast@google.com> | Thu Apr 21 14:52:10 2016 +0100 |
committer | Tobias Thierer <tobiast@google.com> | Fri Apr 22 13:36:53 2016 +0100 |
tree | 1a861369c0c84e0738a31645fe9964f4be334a41 | |
parent | 28b1df3b8abffc25fe0b04391e2ce4d0f8ece966 [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 (cherry picked from commit 4bd017d6a5437f153b2b0a149a5dde0b85bf6907) Change-Id: Icfa4708946e774f4a1bacf185c3fd11a7087017e