Commit 3090434612e7e09875e7493bd67226efcec7163f
1 parent
b437990b
升级
Showing
2 changed files
with
2 additions
and
6 deletions
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