package p138.p176.p291.p296.p297.p299;

import android.os.Bundle;
import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;
import p138.p176.p291.p296.p297.C5608;
import p138.p176.p291.p296.p297.p298.C5617;
import p138.p176.p291.p296.p297.p299.C5642;

/* JADX INFO: renamed from: ދ.ހ.ށ.ބ.ށ.އ.ޓ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class CallableC5661 implements Callable<Void> {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final /* synthetic */ long f16209;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final /* synthetic */ C5642 f16210;

    public CallableC5661(C5642 c5642, long j) {
        this.f16210 = c5642;
        this.f16209 = j;
    }

    @Override // java.util.concurrent.Callable
    public Void call() {
        boolean z;
        if (this.f16210 == null) {
            throw null;
        }
        try {
            Class.forName("com.google.firebase.crash.FirebaseCrash");
            z = true;
        } catch (ClassNotFoundException unused) {
            z = false;
        }
        if (z) {
            C5608.f16066.m8972("Skipping logging Crashlytics event to Firebase, FirebaseCrash exists");
        } else if (this.f16210.f16174 == null) {
            C5608.f16066.m8972("Skipping logging Crashlytics event to Firebase, no Firebase Analytics");
        } else {
            C5642.C5650 c5650 = new C5642.C5650(null);
            ((C5617) this.f16210.f16173).f16090 = c5650;
            C5608.f16066.m8972("Logging Crashlytics event to Firebase");
            Bundle bundle = new Bundle();
            bundle.putInt("fatal", 1);
            bundle.putLong("timestamp", this.f16209);
            this.f16210.f16174.mo8937("clx", "_ae", bundle);
            C5608.f16066.m8972("Background thread awaiting app exception callback from FA...");
            if (c5650.f16189.await(2000L, TimeUnit.MILLISECONDS)) {
                C5608.f16066.m8972("App exception callback received from FA listener.");
            } else {
                C5608.f16066.m8972("Timeout exceeded while awaiting app exception callback from FA listener.");
            }
            ((C5617) this.f16210.f16173).f16090 = null;
        }
        return null;
    }
}
