summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-04-20 14:33:51 -0700
committerAndreas Gampe <agampe@google.com>2016-04-25 10:30:53 -0700
commit34802130548047f09074300513fcf269625eee8a (patch)
treeb8c8856dfca6ef246c7c6f73c3d277b3b8e4bafb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8ca763803d8960ddc9f6c498c3294e69aac0f7cf (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