Support libSearchPath for InMemoryDexClassLoader
InMemoryDexClassLoader currently does not have a constructor which would
allow users to set the library search path and therefore the class loader
cannot be used to load code which depends on a native library outside of
the system library search path. This patch adds such a constructor.
It also annotates params of InMemoryDexClassLoader constructors with
@Nullable and @NonNull.
Test: InMemoryDexClassLoaderTest
Bug: 35458580
Change-Id: I8762f37a1c2cd01ba6c6dca84117c15838ae1971
10 files changed