74 lines
2.0 KiB
Java
74 lines
2.0 KiB
Java
package o;
|
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* renamed from: o.fVp, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13272fVp<T> extends fUX<T, T> {
|
|
private fRZ d;
|
|
|
|
public C13272fVp(AbstractC13163fSk<T> abstractC13163fSk, fRZ frz) {
|
|
super(abstractC13163fSk);
|
|
this.d = frz;
|
|
}
|
|
|
|
@Override // o.AbstractC13163fSk
|
|
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
|
|
this.c.subscribe(new RVV(interfaceC13174fSv, this.d));
|
|
}
|
|
|
|
/* renamed from: o.fVp$RVV */
|
|
/* loaded from: classes6.dex */
|
|
static final class RVV<T> extends AtomicReference<fSJ> implements InterfaceC13174fSv<T>, InterfaceC13154fSb, fSJ {
|
|
private InterfaceC13174fSv<? super T> a;
|
|
private boolean b;
|
|
private fRZ d;
|
|
|
|
RVV(InterfaceC13174fSv<? super T> interfaceC13174fSv, fRZ frz) {
|
|
this.a = interfaceC13174fSv;
|
|
this.d = frz;
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (!EnumC13192fTf.a(this, fsj) || this.b) {
|
|
return;
|
|
}
|
|
this.a.onSubscribe(this);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onNext(T t) {
|
|
this.a.onNext(t);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
this.a.onError(th);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
if (this.b) {
|
|
this.a.onComplete();
|
|
return;
|
|
}
|
|
this.b = true;
|
|
EnumC13192fTf.c(this, null);
|
|
fRZ frz = this.d;
|
|
this.d = null;
|
|
frz.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
EnumC13192fTf.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return EnumC13192fTf.c(get());
|
|
}
|
|
}
|
|
}
|