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

Commit 817431b4 authored by Timothy Yiu's avatar Timothy Yiu Committed by Android (Google) Code Review
Browse files

Merge "Add system property to disable BIC" into main

parents 4257d776 6aca162f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -28,3 +28,10 @@ flag {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    namespace: "wear_frameworks"
    name: "optional_background_install_control"
    description: "Enable BackgroundInstallControl based on system feature to prevent it from starting on form factors."
    bug: "340928990"
}
+7 −3
Original line number Diff line number Diff line
@@ -2644,10 +2644,14 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(MediaMetricsManagerService.class);
            t.traceEnd();

            if (!com.android.server.flags.Flags.optionalBackgroundInstallControl()
                    || SystemProperties.getBoolean(
                            "ro.system_settings.service.backgound_install_control_enabled", true)) {
                t.traceBegin("StartBackgroundInstallControlService");
                mSystemServiceManager.startService(BackgroundInstallControlService.class);
                t.traceEnd();
            }
        }

        t.traceBegin("StartMediaProjectionManager");
        mSystemServiceManager.startService(MediaProjectionManagerService.class);