From 59edf8ec611632548a6dabb73457189e57510eae Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期三, 31 三月 2021 16:05:05 +0800
Subject: [PATCH] 重启应用功能修复

---
 SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java b/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
index 73d075c..44510a8 100644
--- a/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
+++ b/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
@@ -9,8 +9,8 @@
 import android.content.pm.PackageManager;
 import android.net.Uri;
 import android.provider.Settings;
-import androidx.core.app.ActivityCompat;
-import androidx.core.content.ContextCompat;
+import android.support.v4.app.ActivityCompat;
+import android.support.v4.content.ContextCompat;
 import android.widget.Toast;
 
 import com.quicksdk.BaseCallBack;
@@ -217,10 +217,10 @@
                 try {
                     args.clear();
                     JSONObject info = new JSONObject();
-                    String cid = com.quicksdk.Extend.getInstance().getExtrasConfig("cid");
-                    if (cid == null || cid.isEmpty())
-                        cid = com.quicksdk.Extend.getInstance().getChannelType() + "";
-                    String account = userInfo.getUID() + "@" + cid;
+                    String channel = com.quicksdk.Extend.getInstance().getExtrasConfig("channel");
+                    if (channel == null || channel.isEmpty())
+                        channel = com.quicksdk.Extend.getInstance().getChannelType() + "";
+                    String account = userInfo.getUID() + "@" + channel;
                     info.put("account", account);
                     info.put("userName", userInfo.getUID());
                     info.put("token", userInfo.getToken());

--
Gitblit v1.8.0