导航菜单

页面标题

页面副标题

RummyCircle v11000.89 - AnalyticsService.java 源代码

正在查看: RummyCircle v11000.89 应用的 AnalyticsService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package easypay.appinvoke.utils;

import android.content.Intent;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.core.app.JobIntentService;
import com.google.android.play.core.appupdate.e;
import com.google.firebase.perf.network.FirebasePerfOkHttpClient;
import com.google.gson.g;
import easypay.appinvoke.manager.Constants;
import java.util.HashMap;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;

public class AnalyticsService extends JobIntentService {
    public static final int i = 0;
    public HashMap<String, Object> h;

    public final void d(@NonNull Intent intent) {
        if (intent != null) {
            try {
                this.h = (HashMap) intent.getSerializableExtra("data");
            } catch (Exception e) {
                e.printStackTrace();
                e.n(e, "EXCEPTION");
            }
            if (this.h != null) {
                try {
                    MediaType parse = MediaType.parse("application/json; charset=utf-8");
                    OkHttpClient okHttpClient = new OkHttpClient();
                    String s = new g().b().s(this.h);
                    e.n(this, "analytics log map-json:" + s);
                    String str = "analytics service :Map" + s;
                    if (Constants.DEV_MODE) {
                        Log.d("AssistAna", str);
                    }
                    if (FirebasePerfOkHttpClient.execute(okHttpClient.newCall(new Request.Builder().url(Constants.EventUrl).post(RequestBody.create(parse, s)).build())).body() != null) {
                        stopSelf();
                    }
                } catch (Exception e2) {
                    e2.printStackTrace();
                    e.n(e2, "EXCEPTION");
                }
            }
        }
    }

    public final void onCreate() {
        super.onCreate();
    }
}