正在查看: klikUMKM v2.0.1 应用的 q.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: klikUMKM v2.0.1 应用的 q.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package qa;
import android.content.Intent;
import android.content.SharedPreferences;
import android.view.View;
import com.google.firebase.encoders.json.BuildConfig;
import com.trustdecision.mobrisk.TDRisk;
import com.yx.credit.base.R$id;
import com.yx.credit.base.activity.BaseFragmentActivity;
import com.yx.credit.base.entity.Rsp;
import com.yx.credit.indonesia.R$string;
import com.yx.credit.indonesia.ui.LoginActivity;
import com.yx.credit.indonesia.ui.my.MyLogoutSecondLevelActivity;
import java.util.HashMap;
import java.util.Iterator;
public final class q implements o9.a, db.h {
public final MyLogoutSecondLevelActivity a;
public q(MyLogoutSecondLevelActivity myLogoutSecondLevelActivity) {
this.a = myLogoutSecondLevelActivity;
}
@Override
public void h(k9.a aVar, View view) {
aVar.T(false, false);
if (view.getId() == R$id.tv_dialog_left_text) {
MyLogoutSecondLevelActivity myLogoutSecondLevelActivity = this.a;
myLogoutSecondLevelActivity.getClass();
if (j4.d.A()) {
return;
}
myLogoutSecondLevelActivity.L();
HashMap hashMap = new HashMap();
StringBuilder sb2 = new StringBuilder();
if (h4.h.v(myLogoutSecondLevelActivity.N)) {
Iterator it = myLogoutSecondLevelActivity.N.iterator();
while (it.hasNext()) {
sb2.append((String) it.next());
sb2.append(",");
}
}
myLogoutSecondLevelActivity.H.getClass();
p6.f.n();
String substring = sb2.toString().endsWith(",") ? sb2.toString().substring(0, sb2.toString().length() - 1) : BuildConfig.FLAVOR;
p6.f.n();
hashMap.put("checkedReasons", substring);
hashMap.put("otherReason", myLogoutSecondLevelActivity.O);
com.yx.credit.base.net.k.a.w("https://api.klikumkm.co.id/api/indo/user/cancel/submit", hashMap, Rsp.class, true).M(cb.b.a()).R(new q(myLogoutSecondLevelActivity));
}
}
@Override
public void onComplete() {
}
@Override
public void onError(Throwable th) {
this.a.E();
}
@Override
public void onNext(Object obj) {
Rsp rsp = (Rsp) obj;
MyLogoutSecondLevelActivity myLogoutSecondLevelActivity = this.a;
if (o.c.M(myLogoutSecondLevelActivity.F)) {
myLogoutSecondLevelActivity.E();
if (rsp == null || !rsp.isSuccess()) {
myLogoutSecondLevelActivity.E();
return;
}
uc.m.y(j4.j.m(R$string.logout_success, new Object[0]));
BaseFragmentActivity baseFragmentActivity = myLogoutSecondLevelActivity.F;
Intent intent = new Intent(baseFragmentActivity, (Class<?>) LoginActivity.class);
intent.addFlags(TDRisk.OPTION_OAID);
intent.addFlags(268435456);
baseFragmentActivity.startActivity(intent);
j4.i iVar = aa.r.a;
iVar.f9450b = null;
SharedPreferences.Editor editor = (SharedPreferences.Editor) ((t8.c) iVar.f9451c).f11605c;
if (editor != null) {
editor.putString("content", BuildConfig.FLAVOR);
editor.apply();
}
}
}
@Override
public void onSubscribe(eb.b bVar) {
}
}