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

Commit 73dfbcb5 authored by Paul Duffin's avatar Paul Duffin Committed by Automerger Merge Worker
Browse files

Merge "Preload android.test.base to improve startup performance" am:...

Merge "Preload android.test.base to improve startup performance" am: 1bfeeeb8 am: a2826b64 am: ddcce3c8 am: 97c8f033 am: f322da78

Change-Id: I3b099e393cbd15049b3a4519bc1ec0ceb12d74d6
parents 0b3dc7a5 f322da78
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -376,11 +376,17 @@ public class ZygoteInit {
                null /*declaringPackage*/, null /*dependentPackages*/, null /*dependencies*/);
        hidlManager.addDependency(hidlBase);

        SharedLibraryInfo androidTestBase = new SharedLibraryInfo(
                "/system/framework/android.test.base.jar", null /*packageName*/,
                null /*codePaths*/, null /*name*/, 0 /*version*/, SharedLibraryInfo.TYPE_BUILTIN,
                null /*declaringPackage*/, null /*dependentPackages*/, null /*dependencies*/);

        ApplicationLoaders.getDefault().createAndCacheNonBootclasspathSystemClassLoaders(
                new SharedLibraryInfo[]{
                    // ordered dependencies first
                    hidlBase,
                    hidlManager,
                    androidTestBase,
                });
    }