lwb
2021-03-26 3dcd94f7c437966f3056ffc5f16da62d8173f751
SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
@@ -9,10 +9,9 @@
import android.content.pm.PackageManager;
import android.net.Uri;
import android.provider.Settings;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.widget.Toast;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import com.quicksdk.BaseCallBack;
import com.quicksdk.Extend;
@@ -33,6 +32,7 @@
import com.secondworld.sdk.utils.CodeA2U;
import com.secondworld.sdk.utils.LogUtil;
import com.secondworld.sdk.utils.RequestCode;
import com.unity3d.player.UnityPlayer;
import org.json.JSONException;
import org.json.JSONObject;
@@ -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());