package com.mobile.auth.z; import android.os.Build; import android.text.TextUtils; import com.mobile.auth.BuildConfig; import com.mobile.auth.gatewayauth.ExceptionProcessor; import com.mobile.auth.y.b; import com.umeng.analytics.pro.am; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.json.JSONObject; public class d { private static ExecutorService a = Executors.newFixedThreadPool(2); public static void a(String str, String str2) { final String str3 = ""; try { JSONObject jSONObject = new JSONObject(); jSONObject.put("appId", f.a()); jSONObject.put("deviceId", f.i()); jSONObject.put("brand", Build.BRAND); jSONObject.put("model", Build.MODEL); StringBuilder sb = new StringBuilder(); sb.append(Build.VERSION.SDK_INT); jSONObject.put(am.x, sb.toString()); jSONObject.put("errCode", str); jSONObject.put("message", str2); jSONObject.put("sdkVersion", BuildConfig.CUCC_SDK_VERSION); jSONObject.put("apn", f.d()); jSONObject.put("appName", f.h()); jSONObject.put("pip", f.e()); StringBuilder sb2 = new StringBuilder(); sb2.append(f.g()); jSONObject.put("netType", sb2.toString()); StringBuilder sb3 = new StringBuilder(); sb3.append(f.f()); jSONObject.put("userTimeout", sb3.toString()); jSONObject.put("operateTime", "0"); str3 = jSONObject.toString(); } catch (Exception e) { e.printStackTrace(); } if (!TextUtils.isEmpty(str3)) { a.submit(new Runnable() { /* class com.mobile.auth.z.d.AnonymousClass1 */ public final void run() { try { new b().a("https://opencloud.wostore.cn/client/sdk/receive", str3); } catch (Exception e) { try { e.printStackTrace(); } catch (Throwable th) { ExceptionProcessor.processException(th); } } } }); } } }