导航菜单

页面标题

页面副标题

klikUMKM v2.0.1 - t.java 源代码

正在查看: klikUMKM v2.0.1 应用的 t.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.MySettingActivity;
import java.util.HashMap;

public final class t implements o9.a, db.h {
    public final MySettingActivity a;

    public t(MySettingActivity mySettingActivity) {
        this.a = mySettingActivity;
    }

    @Override
    public void h(k9.a aVar, View view) {
        aVar.T(false, false);
        if (view.getId() == R$id.tv_dialog_right_text) {
            MySettingActivity mySettingActivity = this.a;
            if (j4.d.A()) {
                return;
            }
            mySettingActivity.L();
            HashMap hashMap = new HashMap();
            com.yx.credit.base.net.k.a.w("https://api.klikumkm.co.id/api/indo/login/logout", hashMap, Rsp.class, true).T(nb.e.a).M(cb.b.a()).R(new t(mySettingActivity));
        }
    }

    @Override
    public void onComplete() {
    }

    @Override
    public void onError(Throwable th) {
        this.a.E();
    }

    @Override
    public void onNext(Object obj) {
        Rsp rsp = (Rsp) obj;
        MySettingActivity mySettingActivity = this.a;
        boolean M = o.c.M(mySettingActivity.F);
        p6.f fVar = mySettingActivity.H;
        if (!M) {
            fVar.getClass();
            p6.f.n();
            return;
        }
        fVar.getClass();
        p6.f.n();
        mySettingActivity.E();
        if (rsp == null || !rsp.isSuccess()) {
            return;
        }
        uc.m.y(j4.j.m(R$string.exit_success, new Object[0]));
        BaseFragmentActivity baseFragmentActivity = mySettingActivity.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) {
    }
}