2021-06-27 20:44:35 +00:00
|
|
|
package j0.l.a;
|
|
|
|
|
|
|
|
import j0.r.a;
|
|
|
|
import java.util.concurrent.atomic.AtomicBoolean;
|
|
|
|
import rx.Subscriber;
|
|
|
|
import rx.Subscription;
|
|
|
|
import rx.functions.Action1;
|
|
|
|
import rx.subscriptions.CompositeSubscription;
|
|
|
|
/* compiled from: OnSubscribeRefCount */
|
|
|
|
public class z implements Action1<Subscription> {
|
|
|
|
public final /* synthetic */ Subscriber i;
|
|
|
|
public final /* synthetic */ AtomicBoolean j;
|
|
|
|
public final /* synthetic */ c0 k;
|
|
|
|
|
|
|
|
public z(c0 c0Var, Subscriber subscriber, AtomicBoolean atomicBoolean) {
|
|
|
|
this.k = c0Var;
|
|
|
|
this.i = subscriber;
|
|
|
|
this.j = atomicBoolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
|
|
@Override // rx.functions.Action1
|
|
|
|
public void call(Subscription subscription) {
|
|
|
|
boolean z2 = false;
|
|
|
|
try {
|
|
|
|
this.k.j.a(subscription);
|
|
|
|
c0 c0Var = this.k;
|
|
|
|
Subscriber subscriber = this.i;
|
|
|
|
CompositeSubscription compositeSubscription = c0Var.j;
|
|
|
|
subscriber.add(new a(new b0(c0Var, compositeSubscription)));
|
2021-07-03 23:36:06 +00:00
|
|
|
c0Var.i.i0(new a0(c0Var, subscriber, subscriber, compositeSubscription));
|
2021-06-27 20:44:35 +00:00
|
|
|
} finally {
|
|
|
|
this.k.l.unlock();
|
|
|
|
this.j.set(z2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|