142 lines
4.3 KiB
Java
142 lines
4.3 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import o.C2309acF;
|
|
import o.InterfaceC9016dbk;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.acF, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C2309acF extends ZI<InterfaceC9016dbk.LWm> {
|
|
public final NVE b;
|
|
public final String c;
|
|
private final SharedPreferences d;
|
|
private final trQ e;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C2309acF(NVE nve, trQ trq, C16903sI c16903sI, SharedPreferences sharedPreferences, String str) {
|
|
super(c16903sI);
|
|
C14957gcv.e(nve, "");
|
|
C14957gcv.e(trq, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
this.b = nve;
|
|
this.e = trq;
|
|
this.d = sharedPreferences;
|
|
this.c = str;
|
|
}
|
|
|
|
/* renamed from: o.acF$Sts */
|
|
/* loaded from: classes3.dex */
|
|
public final class Sts extends wRi.LWm<Void> {
|
|
private C2309acF a;
|
|
|
|
public Sts(C2309acF c2309acF) {
|
|
this.a = c2309acF;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C2309acF.e(this.a);
|
|
final C2309acF c2309acF = this.a;
|
|
ZI.IeS ieS = new ZI.IeS(c2309acF, th) { // from class: o.acI
|
|
private Throwable a;
|
|
private C2309acF b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2309acF.Sts.e(this.b, this.a, (InterfaceC9016dbk.LWm) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c2309acF;
|
|
this.a = th;
|
|
}
|
|
};
|
|
if (c2309acF.f != 0) {
|
|
ieS.e(c2309acF.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
super.onComplete();
|
|
C2309acF.e(this.a);
|
|
SharedPreferences sharedPreferences = this.a.d;
|
|
C14957gcv.e(sharedPreferences, "");
|
|
sharedPreferences.edit().clear().apply();
|
|
C2309acF c2309acF = this.a;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.acD
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C2309acF.Sts.d((InterfaceC9016dbk.LWm) obj);
|
|
}
|
|
};
|
|
if (c2309acF.f != 0) {
|
|
ieS.e(c2309acF.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(C2309acF c2309acF, Throwable th, final InterfaceC9016dbk.LWm lWm) {
|
|
C14957gcv.e(c2309acF, "");
|
|
C14957gcv.e(th, "");
|
|
if (c2309acF.b(th, "3014")) {
|
|
lWm.e(c2309acF.j.c(th, new Runnable(lWm) { // from class: o.acH
|
|
private InterfaceC9016dbk.LWm c;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
this.c.b();
|
|
}
|
|
|
|
{
|
|
this.c = lWm;
|
|
}
|
|
}));
|
|
return;
|
|
}
|
|
if (!ZI.c(th) && !ZI.a(th) && !ZI.d(th)) {
|
|
if (c2309acF.b(th, "9000")) {
|
|
String a = c2309acF.e.a();
|
|
SharedPreferences sharedPreferences = c2309acF.d;
|
|
C14957gcv.e(sharedPreferences, "");
|
|
sharedPreferences.edit().clear().apply();
|
|
c2309acF.e.a(a);
|
|
lWm.e();
|
|
lWm.e(true);
|
|
return;
|
|
}
|
|
lWm.e(false);
|
|
return;
|
|
}
|
|
String str = c2309acF.j.e(th).c;
|
|
C14957gcv.c((Object) str, "");
|
|
lWm.b(str);
|
|
}
|
|
|
|
public static /* synthetic */ void d(InterfaceC9016dbk.LWm lWm) {
|
|
lWm.e();
|
|
lWm.I_();
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
NVE nve = this.b;
|
|
if (!nve.h.isDisposed()) {
|
|
nve.h.dispose();
|
|
}
|
|
super.w_();
|
|
}
|
|
|
|
public static final /* synthetic */ void e(C2309acF c2309acF) {
|
|
if (c2309acF.f != 0) {
|
|
c2309acF.f.ar_();
|
|
}
|
|
}
|
|
}
|