what-the-bank/sources/o/C10087dwD.java

97 lines
5.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferMinFullConfirmationActivity;
import java.util.Arrays;
/* renamed from: o.dwD, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C10087dwD {
private static InterfaceC15579guf a;
private static InterfaceC15579guf e;
private static final String[] d = {"android.permission.WRITE_EXTERNAL_STORAGE"};
private static final String[] c = {"android.permission.READ_MEDIA_IMAGES"};
public static final void b(DeejungTransferMinFullConfirmationActivity deejungTransferMinFullConfirmationActivity, GO go) {
C14957gcv.e(deejungTransferMinFullConfirmationActivity, "");
C14957gcv.e(go, "");
String[] strArr = c;
if (C15581guh.b(deejungTransferMinFullConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
C14957gcv.e(go, "");
deejungTransferMinFullConfirmationActivity.c(go, false);
return;
}
a = new C10090dwG(deejungTransferMinFullConfirmationActivity, go, false);
DeejungTransferMinFullConfirmationActivity deejungTransferMinFullConfirmationActivity2 = deejungTransferMinFullConfirmationActivity;
if (!C15581guh.aDf_(deejungTransferMinFullConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungTransferMinFullConfirmationActivity2, strArr, 30);
return;
}
InterfaceC15579guf interfaceC15579guf = a;
if (interfaceC15579guf != null) {
InterfaceC15579guf interfaceC15579guf2 = interfaceC15579guf;
C14957gcv.e(interfaceC15579guf2, "");
DeejungTransferMinFullConfirmationActivity.c(new Object[]{deejungTransferMinFullConfirmationActivity, interfaceC15579guf2}, -799503217, 799503219, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 538673809);
}
}
public static final void a(DeejungTransferMinFullConfirmationActivity deejungTransferMinFullConfirmationActivity, GO go) {
C14957gcv.e(deejungTransferMinFullConfirmationActivity, "");
C14957gcv.e(go, "");
String[] strArr = d;
if (C15581guh.b(deejungTransferMinFullConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
deejungTransferMinFullConfirmationActivity.c(go, false);
return;
}
e = new C10086dwC(deejungTransferMinFullConfirmationActivity, go, false);
DeejungTransferMinFullConfirmationActivity deejungTransferMinFullConfirmationActivity2 = deejungTransferMinFullConfirmationActivity;
if (!C15581guh.aDf_(deejungTransferMinFullConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungTransferMinFullConfirmationActivity2, strArr, 29);
return;
}
InterfaceC15579guf interfaceC15579guf = e;
if (interfaceC15579guf != null) {
DeejungTransferMinFullConfirmationActivity.c(new Object[]{deejungTransferMinFullConfirmationActivity, interfaceC15579guf}, -799503217, 799503219, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 538673809);
}
}
public static final void a(DeejungTransferMinFullConfirmationActivity deejungTransferMinFullConfirmationActivity, int i, int[] iArr) {
C14957gcv.e(deejungTransferMinFullConfirmationActivity, "");
C14957gcv.e(iArr, "");
if (i == 29) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf = e;
if (interfaceC15579guf != null) {
interfaceC15579guf.a();
}
} else {
String[] strArr = d;
if (!C15581guh.aDf_(deejungTransferMinFullConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
DeejungTransferMinFullConfirmationActivity.j();
} else {
DeejungTransferMinFullConfirmationActivity.h();
}
}
e = null;
return;
}
if (i == 30) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf2 = a;
if (interfaceC15579guf2 != null) {
interfaceC15579guf2.a();
}
} else {
String[] strArr2 = c;
if (!C15581guh.aDf_(deejungTransferMinFullConfirmationActivity, (String[]) Arrays.copyOf(strArr2, strArr2.length))) {
DeejungTransferMinFullConfirmationActivity.g();
} else {
DeejungTransferMinFullConfirmationActivity.c(new Object[0], 62551318, -62551315, (int) System.currentTimeMillis());
}
}
a = null;
}
}
}