commit | 703e5d3c7fbeb8ca0978045db01d40318f838612 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Thu Jul 15 13:16:41 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Thu Jul 15 15:46:36 2010 -0700 |
tree | bfc921ba33c57bef186d2830fb0995312d117e20 | |
parent | 0c36c96f2a5458ebd0a5a371c8d1515fcdccb002 [diff] |
StrictMode: avoid an allocation in common case Make the initialValue() of the ThreadLocal be null, so checking it doesn't cause one to be created in the case of an RPC call not using StrictMode. Change-Id: I3ea19ce444a1b3c39a6e53c5cb5d4faf4b07a6c8