导航菜单

页面标题

页面副标题

Kredinesia v8.3.1 - FacebookActivity.java 源代码

正在查看: Kredinesia v8.3.1 应用的 FacebookActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.facebook;

import E2.a;
import H2.w;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import androidx.fragment.app.AbstractActivityC0562x;
import androidx.fragment.app.AbstractComponentCallbacksC0557s;
import androidx.fragment.app.C0540a;
import androidx.fragment.app.N;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import kotlin.jvm.internal.i;
import z2.B;
import z2.C2115h;
import z2.G;

public class FacebookActivity extends AbstractActivityC0562x {
    public AbstractComponentCallbacksC0557s a;

    @Override
    public final void dump(String prefix, FileDescriptor fileDescriptor, PrintWriter writer, String[] strArr) {
        if (a.b(this)) {
            return;
        }
        try {
            i.f(prefix, "prefix");
            i.f(writer, "writer");
            super.dump(prefix, fileDescriptor, writer, strArr);
        } catch (Throwable th) {
            a.a(th, this);
        }
    }

    @Override
    public final void onConfigurationChanged(Configuration newConfig) {
        i.f(newConfig, "newConfig");
        super.onConfigurationChanged(newConfig);
        AbstractComponentCallbacksC0557s abstractComponentCallbacksC0557s = this.a;
        if (abstractComponentCallbacksC0557s == null) {
            return;
        }
        abstractComponentCallbacksC0557s.onConfigurationChanged(newConfig);
    }

    @Override
    public final void onCreate(Bundle bundle) {
        FacebookException facebookException;
        super.onCreate(bundle);
        Intent intent = getIntent();
        if (!FacebookSdk.isInitialized()) {
            G.J("com.facebook.FacebookActivity", "Facebook SDK not initialized. Make sure you call sdkInitialize inside your Application's onCreate method.");
            Context applicationContext = getApplicationContext();
            i.e(applicationContext, "applicationContext");
            FacebookSdk.sdkInitialize(applicationContext);
        }
        setContentView(2131492959);
        if (!"PassThrough".equals(intent.getAction())) {
            Intent intent2 = getIntent();
            N supportFragmentManager = getSupportFragmentManager();
            i.e(supportFragmentManager, "supportFragmentManager");
            AbstractComponentCallbacksC0557s B10 = supportFragmentManager.B("SingleFragment");
            AbstractComponentCallbacksC0557s abstractComponentCallbacksC0557s = B10;
            if (B10 == null) {
                if ("FacebookDialogFragment".equals(intent2.getAction())) {
                    C2115h c2115h = new C2115h();
                    c2115h.R();
                    c2115h.V(supportFragmentManager, "SingleFragment");
                    abstractComponentCallbacksC0557s = c2115h;
                } else {
                    w wVar = new w();
                    wVar.R();
                    C0540a c0540a = new C0540a(supportFragmentManager);
                    c0540a.e(2131296515, wVar, "SingleFragment", 1);
                    c0540a.d(false);
                    abstractComponentCallbacksC0557s = wVar;
                }
            }
            this.a = abstractComponentCallbacksC0557s;
            return;
        }
        Intent requestIntent = getIntent();
        B b10 = B.a;
        i.e(requestIntent, "requestIntent");
        Bundle h = B.h(requestIntent);
        if (!a.b(B.class) && h != null) {
            try {
                String string = h.getString("error_type");
                if (string == null) {
                    string = h.getString("com.facebook.platform.status.ERROR_TYPE");
                }
                String string2 = h.getString("error_description");
                if (string2 == null) {
                    string2 = h.getString("com.facebook.platform.status.ERROR_DESCRIPTION");
                }
                facebookException = (string == null || !string.equalsIgnoreCase("UserCanceled")) ? new FacebookException(string2) : new FacebookOperationCanceledException(string2);
            } catch (Throwable th) {
                a.a(th, B.class);
            }
            B b11 = B.a;
            Intent intent3 = getIntent();
            i.e(intent3, "intent");
            setResult(0, B.e(intent3, null, facebookException));
            finish();
        }
        facebookException = null;
        B b112 = B.a;
        Intent intent32 = getIntent();
        i.e(intent32, "intent");
        setResult(0, B.e(intent32, null, facebookException));
        finish();
    }
}