| | |
| | | |
| | | String productCode; |
| | | String productKey; |
| | | |
| | | public String channelID; |
| | | int REQUEST_RECORD_PERMISSION_SETTING = 110; |
| | | |
| | | private boolean hasPermissions(Activity activity) { |
| | |
| | | try { |
| | | args.clear(); |
| | | JSONObject info = new JSONObject(); |
| | | String channel = com.quicksdk.Extend.getInstance().getExtrasConfig("channel"); |
| | | if (channel == null || channel.isEmpty()) |
| | | channel = com.quicksdk.Extend.getInstance().getChannelType() + ""; |
| | | String account = userInfo.getUID() + "@" + channel; |
| | | channelID = com.quicksdk.Extend.getInstance().getExtrasConfig("channel"); |
| | | if (channelID == null || channelID.isEmpty()) |
| | | channelID = com.quicksdk.Extend.getInstance().getChannelType() + ""; |
| | | String account = userInfo.getUID() + "@" + channelID; |
| | | info.put("account", account); |
| | | info.put("userName", userInfo.getUID()); |
| | | info.put("token", userInfo.getToken()); |