| | |
| | | break; |
| | | } |
| | | case SUCCEED: { |
| | | User.getInstance().login(GameActivityProxy.I.activity); |
| | | //User.getInstance().login(GameActivityProxy.I.activity); |
| | | GameActivityProxy.I.activity.runOnUiThread(new Runnable() |
| | | { |
| | | @Override |
| | | public void run() |
| | | { |
| | | User.getInstance().login(GameActivityProxy.I.activity); |
| | | } |
| | | }); |
| | | break; |
| | | } |
| | | case LOADING: { |
| | |
| | | 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()); |