Commit 08f70d8c6664f4ad9a736932270acacd8ef9029d

Authored by 袁思汶
1 parent bcffdad7

base库升级

外分相册预览兼容10
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 }
... ...
build.gradle
... ... @@ -64,7 +64,7 @@ ext {
64 64 qmui = '1.1.5'
65 65  
66 66 libLargeImage = '1.0.4-androidx'
67   - libBase = '1.9.2.0-androidx'
  67 + libBase = '1.9.9.8'
68 68 libVideoQiniu = '1.0.7.2'
69 69  
70 70 //阿里路由框架
... ...
config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.0.2.9",
  24 + version: "1.0.3.0",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.outside_share",
27 27 //Lib库名称
... ...