0c3f120fc6
Create the anonymous namespace only from a non-empty library path.
This is a better heuristic than the current "first-come" one. It
allows creating classloaders that are not directly related to an
app's "main" classloader, that is, do not have any library path.
This is the case, for example, for shared libraries, including
preloaded ones.
Longer-term, the anonymous namespace creation should be made
explicit, so that the framework can have full control.
(cherry picked from commit
|
||
---|---|---|
.. | ||
include/nativeloader | ||
test | ||
.clang-format | ||
Android.bp | ||
libnativeloader.map.txt | ||
native_loader.cpp | ||
native_loader_lazy.cpp | ||
OWNERS |