|
|
@@ -62,6 +62,7 @@ import com.nostra13.universalimageloader.core.DisplayImageOptions;
|
|
|
import com.nostra13.universalimageloader.core.assist.ImageScaleType;
|
|
|
import com.umeng.socialize.UMShareListener;
|
|
|
import com.umeng.socialize.bean.SHARE_MEDIA;
|
|
|
+import com.xzjmyk.pm.activity.BuildConfig;
|
|
|
import com.xzjmyk.pm.activity.R;
|
|
|
import com.core.xmpp.model.ChatMessage;
|
|
|
import com.xzjmyk.pm.activity.bean.oa.SignAutoLogEntity;
|
|
|
@@ -1547,11 +1548,13 @@ public class CommonUtil {
|
|
|
* function:判断是不是发布版本,true:发布版本
|
|
|
*/
|
|
|
public static Boolean isReleaseVersion() {
|
|
|
- if (!StringUtil.isEmpty(PropertiesUtil.readData(MyApplication.getInstance(), "release_version", R.raw.versionconfiguration)) &&
|
|
|
- "true".equals(PropertiesUtil.readData(MyApplication.getInstance(), "release_version", R.raw.versionconfiguration)))
|
|
|
- return true;
|
|
|
- else
|
|
|
- return false;
|
|
|
+// if (!StringUtil.isEmpty(PropertiesUtil.readData(MyApplication.getInstance(), "release_version", R.raw.versionconfiguration)) &&
|
|
|
+// "true".equals(PropertiesUtil.readData(MyApplication.getInstance(), "release_version", R.raw.versionconfiguration)))
|
|
|
+// return true;
|
|
|
+// else
|
|
|
+// return false;
|
|
|
+
|
|
|
+ return !BuildConfig.DEBUG;
|
|
|
}
|
|
|
|
|
|
/**
|