package com.apm.insight.a;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.apm.insight.CrashType;
import com.apm.insight.ICrashCallback;
import com.apm.insight.b.i;
import com.apm.insight.runtime.m;

/* JADX INFO: loaded from: classes.dex */
public class a implements ICrashCallback {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private static volatile a f4995d;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private volatile String f4996a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private volatile i.a f4997b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private volatile i.a f4998c;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private volatile boolean f4999e = false;

    private a() {
    }

    public static a a() {
        if (f4995d == null) {
            synchronized (a.class) {
                try {
                    if (f4995d == null) {
                        f4995d = new a();
                    }
                } catch (Throwable th) {
                    throw th;
                }
            }
        }
        return f4995d;
    }

    @Override // com.apm.insight.ICrashCallback
    public void onCrash(@NonNull CrashType crashType, @Nullable String str, @Nullable Thread thread) {
        crashType.equals(CrashType.NATIVE);
    }

    public final void a(String str, i.a aVar, i.a aVar2) {
        this.f4996a = str;
        this.f4997b = aVar;
        this.f4998c = aVar2;
        if (this.f4999e) {
            return;
        }
        this.f4999e = true;
        m.a().a(new Runnable() { // from class: com.apm.insight.a.a.1
            @Override // java.lang.Runnable
            public final void run() {
            }
        });
    }
}
