Explorar el Código

正式包直接返回相应值

zengjiebin hace 7 años
padre
commit
23b13135ca
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/src/main/java/com/sheep/gamegroup/util/TestUtil.java

+ 2 - 2
app/src/main/java/com/sheep/gamegroup/util/TestUtil.java

@@ -265,10 +265,10 @@ public class TestUtil {
         }
     }
     public static boolean isSheep(){
-        return TextUtils.equals("sheep", BuildConfig.FLAVOR) && !BuildConfig.DEBUG;
+        return true;//TextUtils.equals("sheep", BuildConfig.FLAVOR) && !BuildConfig.DEBUG;
     }
     public static boolean isTest(){
-        return BuildConfig.DEBUG || !"sheep".equals(BuildConfig.FLAVOR);
+        return false;//BuildConfig.DEBUG || !"sheep".equals(BuildConfig.FLAVOR);
     }
 
     /**