Commit 094aa7f7a3d52dc969444d65c892b127a2e96563

Authored by 袁思汶
1 parent bac4f8e4

未登录分享至好友修改

OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareIMActivity.java
... ... @@ -125,7 +125,6 @@ public class ShareIMActivity extends AppCompatActivity {
125 125 public void checkIntent() {
126 126 equals = "shareIM".equals(outTyp); //是否二次登陆 以下所有type均需要判断是否二次登录
127 127 preferences = this.getSharedPreferences("OutShare", MODE_PRIVATE);
128   - if (bundle != null && action != null) {
129 128 switch (action) {
130 129 case Intent.ACTION_SEND:
131 130 jumpToSend(this, bundle);
... ... @@ -137,7 +136,6 @@ public class ShareIMActivity extends AppCompatActivity {
137 136 AlertUtil.showDeftToast(this, "网家家暂不支持此类型信息分享.");
138 137 break;
139 138 }
140   - }
141 139 }
142 140  
143 141 public static String processUrlData(String shareInfoUrl) {
... ... @@ -167,7 +165,7 @@ public class ShareIMActivity extends AppCompatActivity {
167 165  
168 166 @RequiresApi(api = Build.VERSION_CODES.KITKAT)
169 167 private void jumpToSend(Context context, Bundle bundle) {
170   - if (bundle == null || type == null) {
  168 + if (type == null) {
171 169 AlertUtil.showDeftToast(this, "数据获取异常,暂不支持此机型分享.");
172 170 killTime();
173 171 } else if (type.startsWith("text/")) {
... ...
config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.0.0.9",
  24 + version: "1.0.1.0",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.outside_share",
27 27 //Lib库名称
... ...