commit | 3c9164503aed5e8837480267d77917c3f33cbb9f | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Mon Mar 21 13:37:12 2016 -0700 |
committer | Dimitry Ivanov <dimitry@google.com> | Mon Mar 28 17:08:30 2016 -0700 |
tree | e0d530bead77ee5eaa53bfe5698bff6c2021149f | |
parent | dcd30da694385b6780a7f4cd78ea8fcd66ecb635 [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