summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDimitry Ivanov <dimitry@google.com>2016-02-19 14:09:20 -0800
committerDimitry Ivanov <dimitry@google.com>2016-02-19 14:09:20 -0800
commitb9c9026bdd0076014aeca62b088053d8fbce2326 (patch)
tree2fa77f28c095ad3edffd6d49e984d51c260749b9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentea168d229d316c84652e88ad0f19adbaa884d731 (diff)
Construct classloader for apps with no java code
The commit 6f06ad7df1362e9e5b252689f452bdeee2e5af46 fixed a way to load native library for NativeActivity by using classloader logic to find the library; which also fixed the problem of native activity not working when library is supposed to be opened directly from the apk. As a side effect it introduced regression - apps without java code did not have correctly initialized classloader. This change fixes this by constructing classloader with empty dexpath but valid nativeLibrarySearchPath. Bug: http://b/26015561 Bug: http://b/27250344 Change-Id: I50f1119f0976a95edd75d88efb9fcdedc57efbc3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions