Commit 47ffee8b23efd4733a46d4d3b601b660e8dcbe6a

Authored by 袁思汶
1 parent 82a405e5

华为高版本多文件类型type兼容

OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareIMActivity.java
... ... @@ -833,11 +833,11 @@ public class ShareIMActivity extends AppCompatActivity {
833 833  
834 834 private void jumpToSendMultiple(Context context, ArrayList<String> urilist) {
835 835 String replace = "";
836   - if (type == null || type.startsWith("*")) {
  836 + if (type == null) {
837 837 AlertUtil.showDeftToast(this, "网家家暂不支持此类型信息分享.");
838 838 killTime();
839 839 } else {
840   - if (type.startsWith("image/")) {
  840 + if (type.startsWith("image/") || type.startsWith("*/*")) {
841 841 if ((equals)) {
842 842 String clipDataImg = preferences.getString("clipDataImg", "");
843 843 Gson gson = new Gson();
... ...
OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareMomentActivity.java
... ... @@ -766,11 +766,11 @@ public class ShareMomentActivity extends AppCompatActivity {
766 766  
767 767 private void jumpToSendMultiple(Context context, ArrayList<String> urilist) {
768 768 String replace = "";
769   - if (type == null || type.startsWith("*")) {
  769 + if (type == null) {
770 770 AlertUtil.showDeftToast(this, "网家家暂不支持此类型信息分享.");
771 771 killTime();
772 772 } else {
773   - if (type.startsWith("image/")) {
  773 + if (type.startsWith("image/") || type.startsWith("*/*")) {
774 774 if (equals) {
775 775 String clipDataImg = preferences.getString("clipDataImg", "");
776 776 Gson gson = new Gson();
... ...