OSDN Git Service

Use shared namespace for bundled app classloader
authorDimitry Ivanov <dimitry@google.com>
Sat, 12 Dec 2015 01:34:21 +0000 (17:34 -0800)
committerDimitry Ivanov <dimitry@google.com>
Wed, 16 Dec 2015 06:20:34 +0000 (22:20 -0800)
commit75b10ecccdd1881390075dd22c1d4f9bdf1c5828
treee12397aa8e3c2ba205b1503722c3e360723406e8
parentfbe12c4e0ff33f385704edd34aabe6eaa75fedbe
Use shared namespace for bundled app classloader

Allow bundled apps to reference platform native libraries
located in subdirectories of the default library path
(/system/lib/hw/* for example).

In addition to this bundled apps need to share native
libraries with default namespace. Added parameter to
ApplicationLoaders.createClassLoader() to do just that.

Bug: 26165097
Bug: 26164393
Change-Id: I833b4f758c4df8f8958d72eafd5d47ef14079ce1
core/java/android/app/ApplicationLoaders.java
core/java/android/app/LoadedApk.java
core/jni/android_app_NativeActivity.cpp