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 RunnableC4842 implements Runnable {

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

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

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

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

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

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

    public RunnableC4842(C4987 c4987, boolean z, boolean z2, C4891 c4891, C4977 c4977, C4891 c48912) {
        this.f14566 = c4987;
        this.f14561 = z;
        this.f14562 = z2;
        this.f14563 = c4891;
        this.f14564 = c4977;
        this.f14565 = c48912;
    }

    @Override // java.lang.Runnable
    public final void run() throws Throwable {
        C4987 c4987 = this.f14566;
        InterfaceC4823 interfaceC4823 = c4987.f15084;
        if (interfaceC4823 == null) {
            c4987.mo8165().f14444.m8034("Discarding data. Failed to send conditional user property to service");
            return;
        }
        if (this.f14561) {
            c4987.m8515(interfaceC4823, this.f14562 ? null : this.f14563, this.f14564);
        } else {
            try {
                if (TextUtils.isEmpty(this.f14565.f14737)) {
                    interfaceC4823.mo8099(this.f14563, this.f14564);
                } else {
                    interfaceC4823.mo8098(this.f14563);
                }
            } catch (RemoteException e) {
                this.f14566.mo8165().f14444.m8035("Failed to send conditional user property to the service", e);
            }
        }
        this.f14566.m8521();
    }
}
