Commit 30b2e67ac15a0685de4180b3df153f550f2d3774

Authored by 朱显松
2 parents 673276fa 08f70d8c

Merge branch 'master' of bj.gitlab.cnlive.com:cnlive-team/ExternalSharing

 Conflicts:
	build.gradle
	config.gradle
OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareMomentActivity.java
... ... @@ -394,7 +394,7 @@ public class ShareMomentActivity extends AppCompatActivity {
394 394 } else if (("jpg".equals(fileType) || "png".equals(fileType)) && !(imageUri + "").contains("com.tencent.mtt")) { //媒体文件类型混乱问题处理 //pic 1 video 3
395 395 File file = new File(pathreal);
396 396 ArrayList<Media> medialist = new ArrayList<>();
397   - Media media = new Media(file.getPath(), file.getName(), 1, 1, file.length(), 0, "", "");
  397 + Media media = new Media(file.getPath(), file.getName(), 1, 1, file.length(), 0, "", imageUri.toString());
398 398 medialist.add(media);
399 399 jumpReleaseActivity(context, medialist, 3, "", "nocircle");
400 400 killTime();
... ... @@ -818,7 +818,7 @@ public class ShareMomentActivity extends AppCompatActivity {
818 818 medialist.add(media);
819 819 } else {
820 820 File file = new File(replace);
821   - Media media = new Media(file.getPath(), file.getName(), 1, 1, file.length(), i, "", "");
  821 + Media media = new Media(file.getPath(), file.getName(), 1, 1, file.length(), i, "", uri.toString());
822 822 medialist.add(media);
823 823 }
824 824 }
... ...
config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.0.3",
  24 + version: "1.0.3.1",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.outside_share",
27 27 //Lib库名称
... ...