导航菜单

页面标题

页面副标题

CityMall v1.42.1 - FacebookActivity.java 源代码

正在查看: CityMall v1.42.1 应用的 FacebookActivity.java JAVA 源代码文件

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


package com.facebook;

import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentManager;
import com.facebook.internal.C0855j;
import com.facebook.internal.Utility;
import com.facebook.internal.logging.dumpsys.EndToEndDumper;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;

@Metadata
public class FacebookActivity extends FragmentActivity {

    public static final a f13925b = new a(null);

    private static final String f13926c = FacebookActivity.class.getName();

    private Fragment f13927a;

    public static final class a {
        public a(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        private a() {
        }
    }

    private final void C() {
        Intent intent = getIntent();
        kotlin.jvm.internal.j.h(intent, "requestIntent");
        C0878o t4 = com.facebook.internal.E.t(com.facebook.internal.E.y(intent));
        Intent intent2 = getIntent();
        kotlin.jvm.internal.j.h(intent2, "intent");
        setResult(0, com.facebook.internal.E.n(intent2, null, t4));
        finish();
    }

    public final Fragment A() {
        return this.f13927a;
    }

    protected Fragment B() {
        com.facebook.login.r rVar;
        Intent intent = getIntent();
        FragmentManager supportFragmentManager = getSupportFragmentManager();
        kotlin.jvm.internal.j.h(supportFragmentManager, "supportFragmentManager");
        Fragment l02 = supportFragmentManager.l0("SingleFragment");
        if (l02 != null) {
            return l02;
        }
        if (kotlin.jvm.internal.j.d("FacebookDialogFragment", intent.getAction())) {
            ?? c0855j = new C0855j();
            c0855j.setRetainInstance(true);
            c0855j.M(supportFragmentManager, "SingleFragment");
            rVar = c0855j;
        } else {
            com.facebook.login.r rVar2 = new com.facebook.login.r();
            rVar2.setRetainInstance(true);
            supportFragmentManager.p().c(com.facebook.common.c.f14514c, rVar2, "SingleFragment").h();
            rVar = rVar2;
        }
        return rVar;
    }

    @Override
    public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
        if (T2.a.d(this)) {
            return;
        }
        try {
            kotlin.jvm.internal.j.i(str, "prefix");
            kotlin.jvm.internal.j.i(printWriter, "writer");
            EndToEndDumper a5 = EndToEndDumper.f16102a.a();
            if (a5 == null || !a5.a(str, printWriter, strArr)) {
                super.dump(str, fileDescriptor, printWriter, strArr);
            }
        } catch (Throwable th) {
            T2.a.b(th, this);
        }
    }

    @Override
    public void onConfigurationChanged(Configuration configuration) {
        kotlin.jvm.internal.j.i(configuration, "newConfig");
        super.onConfigurationChanged(configuration);
        Fragment fragment = this.f13927a;
        if (fragment != null) {
            fragment.onConfigurationChanged(configuration);
        }
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        Intent intent = getIntent();
        if (!FacebookSdk.isInitialized()) {
            Utility.l0(f13926c, "Facebook SDK not initialized. Make sure you call sdkInitialize inside your Application's onCreate method.");
            Context applicationContext = getApplicationContext();
            kotlin.jvm.internal.j.h(applicationContext, "applicationContext");
            FacebookSdk.sdkInitialize(applicationContext);
        }
        setContentView(com.facebook.common.d.f14518a);
        if (kotlin.jvm.internal.j.d("PassThrough", intent.getAction())) {
            C();
        } else {
            this.f13927a = B();
        }
    }
}