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


package X;

import android.content.Context;
import android.net.Uri;
import com.bytedance.covode.number.Covode;
import com.bytedance.router.SmartRoute;
import com.bytedance.router.SmartRouter;
import com.ss.android.ugc.aweme.IAccountUserService;
import com.ss.android.ugc.aweme.global.config.settings.pojo.AppStoreMessage;
import com.ss.android.ugc.aweme.global.config.settings.pojo.FeedbackConf;
import com.ss.android.ugc.aweme.global.config.settings.pojo.IESSettingsProxy;
import com.zhiliaoapp.musically.R;
import java.util.Locale;
import java.util.Map;
import kotlin.g.b.m;

/* renamed from: X.3or  reason: invalid class name and case insensitive filesystem */
public final class C95203or extends GZT {
    static {
        Covode.recordClassIndex(108427);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public C95203or(Context context, GWR gwr) {
        super(context, gwr);
        C21090sc.LIZ(context, gwr);
    }

    @Override // X.GZT
    public final C98113tY LIZIZ() {
        String string = this.LIZJ.getString(R.string.cnd);
        m.LIZIZ(string, "");
        String string2 = this.LIZJ.getString(R.string.cnu);
        m.LIZIZ(string2, "");
        try {
            IESSettingsProxy iESSettingsProxy = C38141f1.LIZ.LIZIZ;
            m.LIZIZ(iESSettingsProxy, "");
            AppStoreMessage appStoreScore = iESSettingsProxy.getAppStoreScore();
            m.LIZIZ(appStoreScore, "");
            String title = appStoreScore.getTitle();
            m.LIZIZ(title, "");
            if (title.length() > 0) {
                String title2 = appStoreScore.getTitle();
                m.LIZIZ(title2, "");
                string = title2;
            }
            String text = appStoreScore.getText();
            m.LIZIZ(text, "");
            if (text.length() > 0) {
                String text2 = appStoreScore.getText();
                m.LIZIZ(text2, "");
                string2 = text2;
            }
        } catch (AnonymousClass2O8 unused) {
        }
        String string3 = this.LIZJ.getString(R.string.dy6);
        m.LIZIZ(string3, "");
        String string4 = this.LIZJ.getString(R.string.cg0);
        m.LIZIZ(string4, "");
        String packageName = this.LIZJ.getPackageName();
        m.LIZIZ(packageName, "");
        return new C98113tY(string, string2, string3, string4, packageName);
    }

    @Override // X.GZT
    public final void LIZJ() {
        C11460d5 r2;
        Map<String, String> map = new C12740f9().LIZ("enter_from", "praise_dialog").LIZ;
        C14300hf.LIZ("FAQ", map);
        C14300hf.LIZ("click_feedback_entrance", map);
        SmartRoute buildRoute = SmartRouter.buildRoute(this.LIZJ, "aweme://webview");
        m.LIZIZ(buildRoute, "");
        if (C20920sL.LJ()) {
            r2 = new C11460d5("https://www.tiktok.com/aweme/inapp/v2/c_feedback");
        } else {
            try {
                IAccountUserService LJFF = C12290eQ.LJFF();
                m.LIZIZ(LJFF, "");
                if (LJFF.isLogin()) {
                    C18770os LIZ = C18770os.LIZ();
                    IESSettingsProxy iESSettingsProxy = C38141f1.LIZ.LIZIZ;
                    m.LIZIZ(iESSettingsProxy, "");
                    FeedbackConf feedbackConf = iESSettingsProxy.getFeedbackConf();
                    m.LIZIZ(feedbackConf, "");
                    C18770os.LIZ(LIZ, feedbackConf.getNormalEntry());
                    return;
                }
                C18770os LIZ2 = C18770os.LIZ();
                IESSettingsProxy iESSettingsProxy2 = C38141f1.LIZ.LIZIZ;
                m.LIZIZ(iESSettingsProxy2, "");
                FeedbackConf feedbackConf2 = iESSettingsProxy2.getFeedbackConf();
                m.LIZIZ(feedbackConf2, "");
                C18770os.LIZ(LIZ2, feedbackConf2.getNotLoggedIn());
                return;
            } catch (AnonymousClass2O8 unused) {
                r2 = new C11460d5("https://www.tiktok.com/falcon/tiktok_rn_web/feedback/");
                Locale LIZ3 = C16300kt.LIZ(this.LIZJ);
                m.LIZIZ(LIZ3, "");
                r2.LIZ("locale", LIZ3.getLanguage());
            }
        }
        r2.LIZ("enter_from", "praise_dialog");
        buildRoute.withParam(Uri.parse(r2.toString())).withParam("hide_nav_bar", true).open();
    }
}