64 lines
2.0 KiB
Java
64 lines
2.0 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.concurrent.atomic.AtomicReference;
|
||
|
|
||
|
/* renamed from: o.fXq, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C13343fXq<T> extends fUX<T, T> {
|
||
|
private InterfaceC13169fSq<? extends T> d;
|
||
|
|
||
|
public C13343fXq(InterfaceC13169fSq<T> interfaceC13169fSq, InterfaceC13169fSq<? extends T> interfaceC13169fSq2) {
|
||
|
super(interfaceC13169fSq);
|
||
|
this.d = interfaceC13169fSq2;
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC13163fSk
|
||
|
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
|
||
|
HBt hBt = new HBt(interfaceC13174fSv, this.d);
|
||
|
interfaceC13174fSv.onSubscribe(hBt.c);
|
||
|
this.c.subscribe(hBt);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fXq$HBt */
|
||
|
/* loaded from: classes6.dex */
|
||
|
static final class HBt<T> implements InterfaceC13174fSv<T> {
|
||
|
private InterfaceC13169fSq<? extends T> a;
|
||
|
private boolean b = true;
|
||
|
final C13197fTk c = new C13197fTk();
|
||
|
private InterfaceC13174fSv<? super T> e;
|
||
|
|
||
|
HBt(InterfaceC13174fSv<? super T> interfaceC13174fSv, InterfaceC13169fSq<? extends T> interfaceC13169fSq) {
|
||
|
this.e = interfaceC13174fSv;
|
||
|
this.a = interfaceC13169fSq;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13174fSv
|
||
|
public final void onNext(T t) {
|
||
|
if (this.b) {
|
||
|
this.b = false;
|
||
|
}
|
||
|
this.e.onNext(t);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
this.e.onError(th);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13174fSv
|
||
|
public final void onComplete() {
|
||
|
if (this.b) {
|
||
|
this.b = false;
|
||
|
this.a.subscribe(this);
|
||
|
} else {
|
||
|
this.e.onComplete();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13174fSv
|
||
|
public final void onSubscribe(fSJ fsj) {
|
||
|
EnumC13192fTf.d((AtomicReference<fSJ>) this.c, fsj);
|
||
|
}
|
||
|
}
|
||
|
}
|