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

Commit a8135325 authored by Dimitry Ivanov's avatar Dimitry Ivanov Committed by Gerrit Code Review
Browse files

Merge "Relax namespace restriction on system server classloader"

parents 7c4efe42 9e9061f6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -476,11 +476,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 */);