2021-11-08 18:25:28 +00:00
|
|
|
package j0.l.a;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2022-01-27 00:50:41 +00:00
|
|
|
import b.i.a.f.e.o.f;
|
2021-11-08 18:25:28 +00:00
|
|
|
import j0.n.e;
|
2021-06-27 20:44:35 +00:00
|
|
|
import rx.Observable;
|
|
|
|
import rx.Subscriber;
|
|
|
|
import rx.functions.Func0;
|
2022-03-02 20:59:20 +00:00
|
|
|
/* compiled from: OnSubscribeDefer.java */
|
|
|
|
/* loaded from: classes3.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public final class j<T> implements Observable.a<T> {
|
2021-12-17 22:03:14 +00:00
|
|
|
public final Func0<? extends Observable<? extends T>> j;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
|
|
|
public j(Func0<? extends Observable<? extends T>> func0) {
|
2021-12-17 22:03:14 +00:00
|
|
|
this.j = func0;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // rx.functions.Action1
|
|
|
|
public void call(Object obj) {
|
|
|
|
Subscriber subscriber = (Subscriber) obj;
|
|
|
|
try {
|
2021-12-17 22:03:14 +00:00
|
|
|
((Observable) this.j.call()).i0(new e(subscriber, subscriber));
|
2021-06-27 20:44:35 +00:00
|
|
|
} catch (Throwable th) {
|
2022-01-27 00:50:41 +00:00
|
|
|
f.o1(th);
|
2021-06-27 20:44:35 +00:00
|
|
|
subscriber.onError(th);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|