145 lines
4.2 KiB
Java
145 lines
4.2 KiB
Java
|
package o;
|
||
|
|
||
|
import o.C5415bsc;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.bsc, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C5415bsc extends ZI<InterfaceC9266dgW> {
|
||
|
public final RkP b;
|
||
|
public final C17800zpz d;
|
||
|
|
||
|
/* renamed from: o.bsc$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public enum LWm {
|
||
|
OTA_ABOUT,
|
||
|
EXTERNAL_INSTRUCTION,
|
||
|
NTB_OTP
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C5415bsc(C16903sI c16903sI, RkP rkP, C17800zpz c17800zpz) {
|
||
|
super(c16903sI);
|
||
|
C14957gcv.e(c16903sI, "");
|
||
|
C14957gcv.e(rkP, "");
|
||
|
C14957gcv.e(c17800zpz, "");
|
||
|
this.b = rkP;
|
||
|
this.d = c17800zpz;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.bsc$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class HBt extends wRi.LWm<C16143lcT> {
|
||
|
private C5415bsc a;
|
||
|
|
||
|
public HBt(C5415bsc c5415bsc) {
|
||
|
this.a = c5415bsc;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
C14957gcv.e((C16143lcT) obj, "");
|
||
|
super.onComplete();
|
||
|
C5415bsc.b(this.a);
|
||
|
C5415bsc c5415bsc = this.a;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bsq
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
((InterfaceC9266dgW) obj2).e(C5415bsc.LWm.NTB_OTP);
|
||
|
}
|
||
|
};
|
||
|
if (c5415bsc.f != 0) {
|
||
|
ieS.e(c5415bsc.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(final Throwable th) {
|
||
|
C14957gcv.e(th, "");
|
||
|
super.onError(th);
|
||
|
C5415bsc.b(this.a);
|
||
|
final C5415bsc c5415bsc = this.a;
|
||
|
ZI.IeS ieS = new ZI.IeS(c5415bsc, th) { // from class: o.bso
|
||
|
private C5415bsc a;
|
||
|
private Throwable c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C5415bsc.HBt.b(this.a, this.c, (InterfaceC9266dgW) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = c5415bsc;
|
||
|
this.c = th;
|
||
|
}
|
||
|
};
|
||
|
if (c5415bsc.f != 0) {
|
||
|
ieS.e(c5415bsc.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(C5415bsc c5415bsc, Throwable th, InterfaceC9266dgW interfaceC9266dgW) {
|
||
|
C14957gcv.e(c5415bsc, "");
|
||
|
C14957gcv.e(th, "");
|
||
|
String str = c5415bsc.j.e(th).c;
|
||
|
C14957gcv.c((Object) str, "");
|
||
|
interfaceC9266dgW.d(str);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final C14866gag d(String str) {
|
||
|
if (str == null) {
|
||
|
return null;
|
||
|
}
|
||
|
if (str.length() == 0) {
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bsg
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9266dgW) obj).c();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
}
|
||
|
} else if (str.length() != 17) {
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bsf
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9266dgW) obj).b();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS2.e(this.f);
|
||
|
}
|
||
|
} else {
|
||
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bsd
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9266dgW) obj).a();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS3.e(this.f);
|
||
|
}
|
||
|
}
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void b(C5415bsc c5415bsc) {
|
||
|
if (c5415bsc.f != 0) {
|
||
|
c5415bsc.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.ZI
|
||
|
public final void w_() {
|
||
|
RkP rkP = this.b;
|
||
|
if (!rkP.h.isDisposed()) {
|
||
|
rkP.h.dispose();
|
||
|
}
|
||
|
super.w_();
|
||
|
}
|
||
|
}
|