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

Commit 3c6b4961 authored by Dimitry Ivanov's avatar Dimitry Ivanov Committed by android-build-merger
Browse files

Merge "Relax namespace restriction on system server classloader"

am: a8135325

Change-Id: Ie6b5e9041c1a03a8a6b2343069ef2a37b9aba9aa
parents afe73c0c a8135325
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -560,11 +560,11 @@ public class ZygoteInit {
     */
    private static PathClassLoader createSystemServerClassLoader(String systemServerClasspath,
                                                                 int targetSdkVersion) {
      String librarySearchPath = System.getProperty("java.library.path");
      String libraryPath = System.getProperty("java.library.path");

      return PathClassLoaderFactory.createClassLoader(systemServerClasspath,
                                                      librarySearchPath,
                                                      null /* libraryPermittedPath */,
                                                      libraryPath,
                                                      libraryPath,
                                                      ClassLoader.getSystemClassLoader(),
                                                      targetSdkVersion,
                                                      true /* isNamespaceShared */);