diff --git a/aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java b/aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java index 9b5b1625501..2bb6d36d1cd 100644 --- a/aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java +++ b/aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java @@ -16,6 +16,7 @@ package com.google.idea.blaze.android.run.binary.mobileinstall; import com.google.idea.common.experiments.FeatureRolloutExperiment; +import com.intellij.openapi.util.SystemInfo; /** * A utility class that manages the experiment to use studio's built in deployer for deploying apks @@ -28,6 +29,12 @@ public class StudioDeployerExperiment { /** Returns whether mobile install deployments should happen via the studio deployer. */ public static boolean isEnabled() { + // The Studio deployer experiment is specific to local builds on Linux. For other platforms, + // we'll rely entirely on the new Blaze specific deployment flow. + if (!SystemInfo.isLinux) { + return false; + } + return useStudioDeployer.isEnabled(); }