39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
package o;
|
|
|
|
import android.R;
|
|
import java.util.Objects;
|
|
import java.util.concurrent.Callable;
|
|
|
|
/* renamed from: o.fYd, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13365fYd<T> extends AbstractC13175fSw<T> {
|
|
private Callable<? extends T> e;
|
|
|
|
public C13365fYd(Callable<? extends T> callable) {
|
|
this.e = callable;
|
|
}
|
|
|
|
@Override // o.AbstractC13175fSw
|
|
public final void e(InterfaceC13176fSx<? super T> interfaceC13176fSx) {
|
|
fSJ j = fSJ.j();
|
|
interfaceC13176fSx.onSubscribe(j);
|
|
if (j.isDisposed()) {
|
|
return;
|
|
}
|
|
try {
|
|
R.color colorVar = (Object) Objects.requireNonNull(this.e.call(), "The callable returned a null value");
|
|
if (j.isDisposed()) {
|
|
return;
|
|
}
|
|
interfaceC13176fSx.e(colorVar);
|
|
} catch (Throwable th) {
|
|
C13147fSI.c(th);
|
|
if (!j.isDisposed()) {
|
|
interfaceC13176fSx.onError(th);
|
|
} else {
|
|
C13418fZu.c(th);
|
|
}
|
|
}
|
|
}
|
|
}
|