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

Commit 6db60aba authored by Jared Duke's avatar Jared Duke
Browse files

Remove com.android.internal.os.enable_media_and_location_preload flag

The flag is fully launched and eligible for removal.

Bug: 423991866
Flag: EXEMPT flag removal
Test: presubmit
Change-Id: I3b93b7cb3073e0fe211ff8343f27135c13e70b3b
parent 0149d5fb
Loading
Loading
Loading
Loading
+17 −19
Original line number Diff line number Diff line
@@ -427,7 +427,6 @@ public class ZygoteInit {
                SharedLibraryInfo.TYPE_BUILTIN, null /*declaringPackage*/,
                null /*dependentPackages*/, null /*dependencies*/, false /*isNative*/));

        if (Flags.enableMediaAndLocationPreload()) {
        // As these libraries are technically optional and not necessarily inherited from
        // base_system.mk, only cache them if they exist.
        final String mediaJarPath = "/system/framework/com.android.media.remotedisplay.jar";
@@ -446,7 +445,6 @@ public class ZygoteInit {
                    SharedLibraryInfo.TYPE_BUILTIN, null /*declaringPackage*/,
                    null /*dependentPackages*/, null /*dependencies*/, false /*isNative*/));
        }
        }

        // WindowManager Extensions is an optional shared library that is required for WindowManager
        // Jetpack to fully function. Since it is a widely used library, preload it to improve apps
+0 −7
Original line number Diff line number Diff line
@@ -43,13 +43,6 @@ flag {
     }
}

flag {
    name: "enable_media_and_location_preload"
    namespace: "system_performance"
    description: "Enables zygote preload of non-BCP media and location libraries."
    bug: "241474956"
}

flag {
    name: "debug_store_enabled"
    namespace: "stability"