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,7 +394,7 @@ public class ShareMomentActivity extends AppCompatActivity {
394 } else if (("jpg".equals(fileType) || "png".equals(fileType)) && !(imageUri + "").contains("com.tencent.mtt")) { //媒体文件类型混乱问题处理 //pic 1 video 3 394 } else if (("jpg".equals(fileType) || "png".equals(fileType)) && !(imageUri + "").contains("com.tencent.mtt")) { //媒体文件类型混乱问题处理 //pic 1 video 3
395 File file = new File(pathreal); 395 File file = new File(pathreal);
396 ArrayList<Media> medialist = new ArrayList<>(); 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 medialist.add(media); 398 medialist.add(media);
399 jumpReleaseActivity(context, medialist, 3, "", "nocircle"); 399 jumpReleaseActivity(context, medialist, 3, "", "nocircle");
400 killTime(); 400 killTime();
@@ -818,7 +818,7 @@ public class ShareMomentActivity extends AppCompatActivity { @@ -818,7 +818,7 @@ public class ShareMomentActivity extends AppCompatActivity {
818 medialist.add(media); 818 medialist.add(media);
819 } else { 819 } else {
820 File file = new File(replace); 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 medialist.add(media); 822 medialist.add(media);
823 } 823 }
824 } 824 }
build.gradle
@@ -64,7 +64,7 @@ ext { @@ -64,7 +64,7 @@ ext {
64 qmui = '1.1.5' 64 qmui = '1.1.5'
65 65
66 libLargeImage = '1.0.4-androidx' 66 libLargeImage = '1.0.4-androidx'
67 - libBase = '1.9.2.0-androidx' 67 + libBase = '1.9.9.8'
68 libVideoQiniu = '1.0.7.2' 68 libVideoQiniu = '1.0.7.2'
69 69
70 //阿里路由框架 70 //阿里路由框架
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.2.9", 24 + version: "1.0.3.0",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.outside_share", 26 packeg : "com.cnlive.outside_share",
27 //Lib库名称 27 //Lib库名称