discord-jadx/app/src/main/java/j0/l/a/t0.java
2021-06-27 22:53:42 +02:00

55 lines
1.4 KiB
Java

package j0.l.a;
import c.q.a.k.a;
import rx.Subscriber;
/* compiled from: OperatorDistinctUntilChanged */
public class t0 extends Subscriber<T> {
public U i;
public boolean j;
public final /* synthetic */ Subscriber k;
public final /* synthetic */ u0 l;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public t0(u0 u0Var, Subscriber subscriber, Subscriber subscriber2) {
super(subscriber);
this.l = u0Var;
this.k = subscriber2;
}
@Override // j0.g
public void onCompleted() {
this.k.onCompleted();
}
@Override // j0.g
public void onError(Throwable th) {
this.k.onError(th);
}
/* JADX WARNING: Unknown variable types count: 1 */
@Override // j0.g
public void onNext(T t) {
Object obj;
try {
?? call = this.l.i.call(t);
U u = this.i;
this.i = call;
if (this.j) {
try {
if (!this.l.j.call(u, call).booleanValue()) {
this.k.onNext(t);
} else {
request(1);
}
} catch (Throwable th) {
a.b0(th, this.k, obj);
}
} else {
this.j = true;
this.k.onNext(t);
}
} catch (Throwable th2) {
a.b0(th2, this.k, t);
}
}
}