diff options
author | Andreas Gampe <agampe@google.com> | 2016-04-20 14:33:51 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-04-25 10:30:53 -0700 |
commit | 34802130548047f09074300513fcf269625eee8a (patch) | |
tree | b8c8856dfca6ef246c7c6f73c3d277b3b8e4bafb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8ca763803d8960ddc9f6c498c3294e69aac0f7cf (diff) |
Frameworks/base: Make debug helper lazy in ConnectivityManager
Place helper map for callback field names into a holder. This avoids
the reflective calls in static initialization of ConnectivityManager
in the common (non-debug) case, which means the class can be
compile-time initialized. Also saves the storage necessary (both
the storage array as well as the reflection metadata).
Follow-up to fcfa7d921a173847a0b3946983612e031e73c44c.
Bug: 27265238
Change-Id: Ib4bfaf27acd234a035a5d198458340099a156a4c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions