2021-06-27 20:44:35 +00:00
|
|
|
package j0.l.a;
|
|
|
|
|
|
|
|
import j0.f;
|
|
|
|
import rx.Producer;
|
|
|
|
import rx.Subscriber;
|
|
|
|
/* compiled from: OnSubscribeRedo */
|
|
|
|
public class u extends Subscriber<f<?>> {
|
|
|
|
public final /* synthetic */ Subscriber i;
|
|
|
|
public final /* synthetic */ v j;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public u(v vVar, Subscriber subscriber, Subscriber subscriber2) {
|
|
|
|
super(subscriber);
|
|
|
|
this.j = vVar;
|
|
|
|
this.i = subscriber2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // j0.g
|
|
|
|
public void onCompleted() {
|
|
|
|
this.i.onCompleted();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // j0.g
|
|
|
|
public void onError(Throwable th) {
|
|
|
|
this.i.onError(th);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // j0.g
|
|
|
|
public void onNext(Object obj) {
|
|
|
|
f fVar = (f) obj;
|
|
|
|
f.a aVar = fVar.b;
|
|
|
|
boolean z2 = false;
|
|
|
|
if (!(aVar == f.a.OnCompleted) || !this.j.i.k) {
|
|
|
|
if (aVar == f.a.OnError) {
|
|
|
|
z2 = true;
|
|
|
|
}
|
|
|
|
if (!z2 || !this.j.i.l) {
|
|
|
|
this.i.onNext(fVar);
|
|
|
|
} else {
|
2021-07-04 15:26:29 +00:00
|
|
|
this.i.onError(fVar.f2833c);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
this.i.onCompleted();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // rx.Subscriber
|
|
|
|
public void setProducer(Producer producer) {
|
|
|
|
producer.j(Long.MAX_VALUE);
|
|
|
|
}
|
|
|
|
}
|