Merge "Do not fail when there is no vndk namespace" am: 6534c60e43
am: b98aaf83a9
Change-Id: I81372fb8c8dc6f72c7ac6a4f3b98a8cc1a7bed9c
This commit is contained in:
commit
effad9de02
1 changed files with 3 additions and 2 deletions
|
|
@ -288,8 +288,9 @@ class LibraryNamespaces {
|
|||
|
||||
// Give access to VNDK-SP libraries from the 'vndk' namespace.
|
||||
vndk_ns = android_get_exported_namespace(kVndkNamespaceName);
|
||||
LOG_ALWAYS_FATAL_IF(vndk_ns == nullptr, "Cannot find \"%s\" namespace for %s apks",
|
||||
kVndkNamespaceName, origin_partition);
|
||||
if (vndk_ns == nullptr) {
|
||||
ALOGW("Cannot find \"%s\" namespace for %s apks", kVndkNamespaceName, origin_partition);
|
||||
}
|
||||
|
||||
// Different name is useful for debugging
|
||||
namespace_name = kVendorClassloaderNamespaceName;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue