正在查看: bbinstant v6.24.0 应用的 BaseSimplScreen.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: bbinstant v6.24.0 应用的 BaseSimplScreen.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.simpl.android.zeroClickSdk.internal;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentTransaction;
import com.simpl.android.zeroClickSdk.R;
import com.simpl.android.zeroClickSdk.internal.c;
import com.simpl.approvalsdk.SimplUser;
import in.juspay.hyper.constants.LogSubCategory;
public class BaseSimplScreen extends FragmentActivity {
private SimplUser a;
private Fragment b;
private String c;
private i f96d;
final class a implements c.a {
a() {
}
@Override
public final Object a() {
BaseSimplScreen.this.setContentView(R.layout.__activity_simpl);
?? r0 = BaseSimplScreen.this;
((BaseSimplScreen) r0).a = (SimplUser) r0.getIntent().getExtras().getParcelable(LogSubCategory.Action.USER);
String str = "verification_url";
if (!BaseSimplScreen.this.getIntent().hasExtra("verification_url")) {
str = "redirection_url";
if (!BaseSimplScreen.this.getIntent().hasExtra("redirection_url")) {
return null;
}
}
?? r02 = BaseSimplScreen.this;
((BaseSimplScreen) r02).c = r02.getIntent().getExtras().getString(str);
BaseSimplScreen.b(BaseSimplScreen.this, str);
return null;
}
}
final class b implements c.a {
b() {
}
@Override
public final Object a() {
BaseSimplScreen.this.finish();
return null;
}
}
final class c implements c.a {
final i a;
c(i iVar) {
this.a = iVar;
}
@Override
public final Object a() {
BaseSimplScreen.this.f96d = this.a;
return null;
}
}
final class d implements c.a {
d() {
}
@Override
public final Object a() {
BaseSimplScreen.this.finish();
return null;
}
}
final class e implements c.a {
final Fragment a;
final int b;
final String c;
e(Fragment fragment, int i2, String str) {
this.a = fragment;
this.b = i2;
this.c = str;
}
@Override
public final Object a() {
FragmentTransaction beginTransaction = BaseSimplScreen.this.getSupportFragmentManager().beginTransaction();
if (BaseSimplScreen.this.b != null) {
beginTransaction.remove(this.a);
}
BaseSimplScreen.this.b = this.a;
beginTransaction.replace(this.b, this.a, this.c);
beginTransaction.commitAllowingStateLoss();
return null;
}
}
final class f implements c.a {
f() {
}
@Override
public final Object a() {
BaseSimplScreen.this.finish();
return null;
}
}
final class g implements c.a {
final int a;
final int[] b;
final String[] c;
g(int i2, int[] iArr, String[] strArr) {
this.a = i2;
this.b = iArr;
this.c = strArr;
}
@Override
public final Object a() {
if (this.a != 2003) {
return null;
}
BaseSimplScreen.this.f96d.a(this.b[0] == 0, this.c[0]);
return null;
}
}
final class h implements c.a {
h() {
}
@Override
public final Object a() {
BaseSimplScreen.this.finish();
return null;
}
}
public interface i {
void a(boolean z, String str);
}
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
com.simpl.android.zeroClickSdk.internal.c.a((c.a) new a(), (c.a) new b());
}
public void onRequestPermissionsResult(int i2, String[] strArr, int[] iArr) {
super.onRequestPermissionsResult(i2, strArr, iArr);
com.simpl.android.zeroClickSdk.internal.c.a((c.a) new g(i2, iArr, strArr), (c.a) new h());
}
static void b(BaseSimplScreen baseSimplScreen, String str) {
com.simpl.android.zeroClickSdk.internal.c.a((c.a) baseSimplScreen.new e(SimplZeroClickWebViewFragment.a(str, baseSimplScreen.a, baseSimplScreen.c), R.id.__simpl_fragment_container, SimplZeroClickWebViewFragment.a), (c.a) baseSimplScreen.new f());
}
}