Merge "Disable RescueParty in debug/lab environments."

This commit is contained in:
TreeHugger Robot
2017-01-27 00:14:22 +00:00
committed by Android (Google) Code Review
2 changed files with 26 additions and 3 deletions

View File

@@ -883,8 +883,11 @@ public class Build {
SystemProperties.getInt("ro.debuggable", 0) == 1;
/** {@hide} */
public static final boolean IS_ENG =
"eng".equals(getString("ro.build.type"));
public static final boolean IS_ENG = "eng".equals(TYPE);
/** {@hide} */
public static final boolean IS_USERDEBUG = "userdebug".equals(TYPE);
/** {@hide} */
public static final boolean IS_USER = "user".equals(TYPE);
/**
* Whether this build is running inside a container.