Commit 3090434612e7e09875e7493bd67226efcec7163f

Authored by 袁思汶
1 parent b437990b

升级

OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareMomentActivity.java
@@ -252,11 +252,7 @@ public class ShareMomentActivity extends AppCompatActivity { @@ -252,11 +252,7 @@ public class ShareMomentActivity extends AppCompatActivity {
252 String linkcontext = link.replaceAll("\\s*", ""); 252 String linkcontext = link.replaceAll("\\s*", "");
253 int end; //截取前缀文字作为分享标题内容 ,后半段为链接link内容 253 int end; //截取前缀文字作为分享标题内容 ,后半段为链接link内容
254 int begin = linkcontext.indexOf("http"); 254 int begin = linkcontext.indexOf("http");
255 - if (linkcontext.contains("(")) {  
256 - end = linkcontext.indexOf("(");  
257 - } else {  
258 - end = linkcontext.length();  
259 - } 255 + end = linkcontext.length();
260 if (bundle!=null && bundle.getString("file")!=null) { 256 if (bundle!=null && bundle.getString("file")!=null) {
261 String file = bundle.getString("file"); 257 String file = bundle.getString("file");
262 FileUtil.copyFile(file, getPath("/strike/cache/") + "share.jpg"); 258 FileUtil.copyFile(file, getPath("/strike/cache/") + "share.jpg");
config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.0.1.5", 24 + version: "1.0.1.6",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.outside_share", 26 packeg : "com.cnlive.outside_share",
27 //Lib库名称 27 //Lib库名称