Pass permitted_path to the linker as is.

am: 25df4bff44

* commit '25df4bff44a0d1a342dc45521bf7e860b3fef947':
  Pass permitted_path to the linker as is.

Change-Id: Idf8459267f8e1cc7bebc9a55b1272871b3d8119a
This commit is contained in:
Dimitry Ivanov 2016-05-17 04:06:05 +00:00 committed by android-build-merger
commit d98683f415

View file

@ -101,9 +101,7 @@ class LibraryNamespaces {
nullptr,
library_path.c_str(),
namespace_type,
!permitted_path.empty() ?
permitted_path.c_str() :
nullptr);
permitted_path.c_str());
if (ns != nullptr) {
namespaces_.push_back(std::make_pair(env->NewWeakGlobalRef(class_loader), ns));