Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b98aaf83 authored by Kiyoung Kim's avatar Kiyoung Kim Committed by android-build-merger
Browse files

Merge "Do not fail when there is no vndk namespace"

am: 6534c60e

Change-Id: I41b172ff2315b4b295e344ac52bf568e1c3168e4
parents 9283da30 6534c60e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;