67 lines
2.1 KiB
Java
67 lines
2.1 KiB
Java
package o;
|
|
|
|
import io.reactivex.rxjava3.exceptions.CompositeException;
|
|
import java.util.Objects;
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* renamed from: o.fYm, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C13374fYm<T> extends AbstractC13175fSw<T> {
|
|
private fSD<? extends T> a;
|
|
private fSS<? super Throwable, ? extends fSD<? extends T>> b;
|
|
|
|
public C13374fYm(fSD<? extends T> fsd, fSS<? super Throwable, ? extends fSD<? extends T>> fss) {
|
|
this.a = fsd;
|
|
this.b = fss;
|
|
}
|
|
|
|
@Override // o.AbstractC13175fSw
|
|
public final void e(InterfaceC13176fSx<? super T> interfaceC13176fSx) {
|
|
this.a.c(new RVV(interfaceC13176fSx, this.b));
|
|
}
|
|
|
|
/* renamed from: o.fYm$RVV */
|
|
/* loaded from: classes6.dex */
|
|
static final class RVV<T> extends AtomicReference<fSJ> implements InterfaceC13176fSx<T>, fSJ {
|
|
private fSS<? super Throwable, ? extends fSD<? extends T>> b;
|
|
private InterfaceC13176fSx<? super T> c;
|
|
|
|
RVV(InterfaceC13176fSx<? super T> interfaceC13176fSx, fSS<? super Throwable, ? extends fSD<? extends T>> fss) {
|
|
this.c = interfaceC13176fSx;
|
|
this.b = fss;
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (EnumC13192fTf.a(this, fsj)) {
|
|
this.c.onSubscribe(this);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void e(T t) {
|
|
this.c.e(t);
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onError(Throwable th) {
|
|
try {
|
|
((fSD) Objects.requireNonNull(this.b.a(th), "The nextFunction returned a null SingleSource.")).c(new C13226fUe(this, this.c));
|
|
} catch (Throwable th2) {
|
|
C13147fSI.c(th2);
|
|
this.c.onError(new CompositeException(th, th2));
|
|
}
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
EnumC13192fTf.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return EnumC13192fTf.c(get());
|
|
}
|
|
}
|
|
}
|