package p138.p176.p177.p242.p265.p266;

import android.os.RemoteException;
import android.text.TextUtils;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.ބ.֏.Т, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class RunnableC4847 implements Runnable {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final /* synthetic */ boolean f14575;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final /* synthetic */ boolean f14576;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final /* synthetic */ C4913 f14577;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final /* synthetic */ C4977 f14578;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public final /* synthetic */ String f14579;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public final /* synthetic */ C4987 f14580;

    public RunnableC4847(C4987 c4987, boolean z, boolean z2, C4913 c4913, C4977 c4977, String str) {
        this.f14580 = c4987;
        this.f14575 = z;
        this.f14576 = z2;
        this.f14577 = c4913;
        this.f14578 = c4977;
        this.f14579 = str;
    }

    @Override // java.lang.Runnable
    public final void run() throws Throwable {
        C4987 c4987 = this.f14580;
        InterfaceC4823 interfaceC4823 = c4987.f15084;
        if (interfaceC4823 == null) {
            c4987.mo8165().f14444.m8034("Discarding data. Failed to send event to service");
            return;
        }
        if (this.f14575) {
            c4987.m8515(interfaceC4823, this.f14576 ? null : this.f14577, this.f14578);
        } else {
            try {
                if (TextUtils.isEmpty(this.f14579)) {
                    interfaceC4823.mo8101(this.f14577, this.f14578);
                } else {
                    interfaceC4823.mo8100(this.f14577, this.f14579, this.f14580.mo8165().m8052());
                }
            } catch (RemoteException e) {
                this.f14580.mo8165().f14444.m8035("Failed to send event to the service", e);
            }
        }
        this.f14580.m8521();
    }
}
