TikTok.apk(点击下载) / C42148Ggr.java


package X;

import android.app.Activity;
import android.os.Bundle;
import android.text.TextUtils;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.IAccountUserService;
import java.util.HashMap;

/* renamed from: X.Ggr  reason: case insensitive filesystem */
public class C42148Ggr {
    public static final String LIZ = "https://api-va.tiktokv.com/aweme/v1/check/out/";
    public static volatile C42148Ggr LIZJ;
    public IAccountUserService LIZIZ = C13920h3.LIZIZ.LIZLLL();
    public AbstractC09520Zx LIZLLL;

    static {
        Covode.recordClassIndex(44280);
    }

    public static C42148Ggr LIZ() {
        if (LIZJ == null) {
            synchronized (C42148Ggr.class) {
                try {
                    if (LIZJ == null) {
                        LIZJ = new C42148Ggr();
                    }
                } catch (Throwable th) {
                    throw th;
                }
            }
        }
        return LIZJ;
    }

    public static Object LIZ(Bundle bundle, String str) {
        try {
            return bundle.get(str);
        } catch (Exception | OutOfMemoryError unused) {
            return null;
        }
    }

    public final void LIZ(String str, boolean z, boolean z2, Bundle bundle) {
        String LIZIZ2 = C13920h3.LIZIZ();
        boolean LIZLLL2 = C20920sL.LIZLLL();
        Activity LJIIIZ = AnonymousClass0WM.LJIILLIIL.LJIIIZ();
        HashMap hashMap = new HashMap();
        String str2 = "1";
        hashMap.put("user_was_login", C13920h3.LIZIZ.LIZLLL().isLogin() ? str2 : "0");
        if (!z2) {
            str2 = "0";
        }
        hashMap.put("force_logout", str2);
        if (bundle != null && !TextUtils.isEmpty(bundle.getString("from_path"))) {
            hashMap.put("from_path", LIZ(bundle, "from_path"));
        }
        DialogC42574Gnj gnj = (!z || LJIIIZ == null) ? null : new DialogC42574Gnj(LJIIIZ);
        H39.LIZ(gnj);
        if (this.LIZLLL == null) {
            this.LIZLLL = C09590a4.LIZ(C12260eN.LIZ);
        }
        this.LIZLLL.LIZ(str, hashMap, new C42146Ggp(this, gnj, LJIIIZ, LIZIZ2, str, LIZLLL2, bundle));
    }
}