正在查看: Moneyman v2.316.0.0 应用的 FacebookActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Moneyman v2.316.0.0 应用的 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.C;
import androidx.fragment.app.C0717a;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import com.facebook.internal.FacebookDialogFragment;
import com.facebook.login.LoginFragment;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import kotlin.Metadata;
import kotlin.jvm.internal.d;
import kotlin.jvm.internal.i;
import z5.D;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0016\u0018\u00002\u00020\u0001:\u0001\u0004B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0005"}, d2 = {"Lcom/facebook/FacebookActivity;", "Landroidx/fragment/app/C;", "<init>", "()V", "a", "facebook-common_release"}, k = 1, mv = {1, 5, 1}, xi = 48)
public class FacebookActivity extends C {
public Fragment f18193X0;
public static final class a {
public a(d dVar) {
}
}
static {
new a(null);
}
@Override
public final void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
if (E5.a.b(this)) {
return;
}
try {
i.g(str, "prefix");
i.g(printWriter, "writer");
super.dump(str, fileDescriptor, printWriter, strArr);
} catch (Throwable th) {
E5.a.a(this, th);
}
}
@Override
public final void onConfigurationChanged(Configuration configuration) {
i.g(configuration, "newConfig");
super.onConfigurationChanged(configuration);
Fragment fragment = this.f18193X0;
if (fragment == null) {
return;
}
fragment.onConfigurationChanged(configuration);
}
@Override
public final void onCreate(Bundle bundle) {
LoginFragment loginFragment;
FacebookException facebookException;
super.onCreate(bundle);
Intent intent = getIntent();
if (!k5.i.f22364p.get()) {
Context applicationContext = getApplicationContext();
i.f(applicationContext, "applicationContext");
k5.i.i(applicationContext);
}
setContentView(2131558440);
if (!"PassThrough".equals(intent.getAction())) {
Intent intent2 = getIntent();
FragmentManager supportFragmentManager = getSupportFragmentManager();
i.f(supportFragmentManager, "supportFragmentManager");
Fragment E7 = supportFragmentManager.E("SingleFragment");
if (E7 == null) {
if (FacebookDialogFragment.TAG.equals(intent2.getAction())) {
?? facebookDialogFragment = new FacebookDialogFragment();
facebookDialogFragment.setRetainInstance(true);
facebookDialogFragment.show(supportFragmentManager, "SingleFragment");
loginFragment = facebookDialogFragment;
} else {
LoginFragment loginFragment2 = new LoginFragment();
loginFragment2.setRetainInstance(true);
C0717a c0717a = new C0717a(supportFragmentManager);
c0717a.f(2131362200, loginFragment2, "SingleFragment", 1);
c0717a.d();
loginFragment = loginFragment2;
}
E7 = loginFragment;
}
this.f18193X0 = E7;
return;
}
Intent intent3 = getIntent();
D d7 = D.f26702a;
i.f(intent3, "requestIntent");
Bundle h3 = D.h(intent3);
if (!E5.a.b(D.class) && h3 != null) {
try {
String string = h3.getString("error_type");
if (string == null) {
string = h3.getString("com.facebook.platform.status.ERROR_TYPE");
}
String string2 = h3.getString("error_description");
if (string2 == null) {
string2 = h3.getString("com.facebook.platform.status.ERROR_DESCRIPTION");
}
facebookException = (string == null || !string.equalsIgnoreCase("UserCanceled")) ? new FacebookException(string2) : new FacebookOperationCanceledException(string2);
} catch (Throwable th) {
E5.a.a(D.class, th);
}
D d8 = D.f26702a;
Intent intent4 = getIntent();
i.f(intent4, "intent");
setResult(0, D.e(intent4, null, facebookException));
finish();
}
facebookException = null;
D d82 = D.f26702a;
Intent intent42 = getIntent();
i.f(intent42, "intent");
setResult(0, D.e(intent42, null, facebookException));
finish();
}
}