commit | 13803f68746a42577befe9ec6e2b26ee9ffd5dd9 | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Mon Mar 21 13:37:12 2016 -0700 |
committer | Dimitry Ivanov <dimitry@google.com> | Wed May 18 09:44:25 2016 -0700 |
tree | aedef4a14e226fdde154ebd31b5ec6e9fefab5dc | |
parent | 96ace24b685986a36642bcbe34b363912fbab46a [diff] |
Workaround for apps using a copy of libnativehelper When this library is loaded by app via greylist it ends up having its own copy of the library which does not have JNI constants properly initialized. This workaround checks the initialization status and initializes them lazily in this case. Bug: http://b/27724707 Change-Id: I4d12913c86a7e8e86c910c90316fc0b94190ac94 (cherry picked from commit 3c9164503aed5e8837480267d77917c3f33cbb9f)