diff options
author | Andreas Gampe <agampe@google.com> | 2017-02-16 15:10:20 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-02-16 17:01:35 -0800 |
commit | 08e6c34cf72acbffd560fab21dc6ecf351aaf61b (patch) | |
tree | a55bedeaf8032d07aa10086e441e5e3cbf15ced2 /tools/aapt2/diff/Diff.cpp | |
parent | 977e656e491410aee79a66d5a45b3e052f7a644a (diff) |
Camera: Make CameraMetadataNative compile-time initializable
Ensure that all static initializer code can be executed in the
compiler. Move native field caching into the native method
registration function.
Saves up to 10ms on N6P zygote initialization.
Bug: 34956610
Test: m
Test: Device boots (N6P)
Test: Can take pictures and videos (N6P)
Change-Id: I481dfd3aa8dc3cc5a5c31eedad31390d8afda897
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions