|
@@ -1,7 +1,6 @@
|
|
|
package com.sheep.jiuyan.samllsheep;
|
|
package com.sheep.jiuyan.samllsheep;
|
|
|
|
|
|
|
|
-import com.sheep.gamegroup.model.entity.UserEntity;
|
|
|
|
|
-import com.sheep.gamegroup.util.DataUtil;
|
|
|
|
|
|
|
+import com.sheep.gamegroup.util.TestUtil;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Created by kemllor on 2017/12/14.
|
|
* Created by kemllor on 2017/12/14.
|
|
@@ -60,8 +59,10 @@ public class Config {
|
|
|
public static final String KEY_USED_COPY_TEXT = "used_copy_text";//忽略的复制内容的key String
|
|
public static final String KEY_USED_COPY_TEXT = "used_copy_text";//忽略的复制内容的key String
|
|
|
|
|
|
|
|
//默认值
|
|
//默认值
|
|
|
- public static boolean dvbEnableCheckCopyText(){//游戏用户默认开启检查粘贴板
|
|
|
|
|
- UserEntity userEntity = DataUtil.getInstance().getUserEntity();
|
|
|
|
|
- return userEntity != null && userEntity.isGameUser();
|
|
|
|
|
|
|
+ public static boolean dvbEnableCheckCopyText(){
|
|
|
|
|
+ return TestUtil.isTest();
|
|
|
|
|
+// //游戏用户默认开启检查粘贴板
|
|
|
|
|
+// UserEntity userEntity = DataUtil.getInstance().getUserEntity();
|
|
|
|
|
+// return userEntity != null && userEntity.isGameUser();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|