commit | 08e6c34cf72acbffd560fab21dc6ecf351aaf61b | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Feb 16 15:10:20 2017 -0800 |
committer | Andreas Gampe <agampe@google.com> | Thu Feb 16 17:01:35 2017 -0800 |
tree | a55bedeaf8032d07aa10086e441e5e3cbf15ced2 | |
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