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

Commit 7f334234 authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Merge "public libs from APEXes are pre-loadable" am: 571e68ef am: e34ff8e7

am: 85d75887

Change-Id: I03b5f1a11f066365834cabc5f3067393f78a4057
parents 357154c2 85d75887
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -176,6 +176,11 @@ static std::string InitDefaultPublicLibraries(bool for_preload) {
    std::copy(vec.begin(), vec.end(), std::back_inserter(*sonames));
  }

  // If this is for preloading libs, don't remove the libs from APEXes.
  if (for_preload) {
    return android::base::Join(*sonames, ':');
  }

  // Remove the public libs in the runtime namespace.
  // These libs are listed in public.android.txt, but we don't want the rest of android
  // in default namespace to dlopen the libs.