Skip to content

Commit

Permalink
Automated rollback of commit ba1bf5d.
Browse files Browse the repository at this point in the history
*** Reason for rollback ***

Long deploy times on mac (b/307763623)

*** Original change description ***

Enable studio deployer experiment for Mac

PiperOrigin-RevId: 576898522
  • Loading branch information
Googler authored and copybara-github committed Oct 26, 2023
1 parent 64cf8a2 commit f56f33c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
}

Expand Down

0 comments on commit f56f33c

Please sign in to comment.