Loading services/core/java/com/android/server/flags/services.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -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" } services/java/com/android/server/SystemServer.java +7 −3 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
services/core/java/com/android/server/flags/services.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -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" }
services/java/com/android/server/SystemServer.java +7 −3 Original line number Diff line number Diff line Loading @@ -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); Loading