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

96 lines
4.5 KiB
Java

package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.cardmanagement.DeejungInstallmentsConfirmationActivity;
import java.util.Arrays;
/* renamed from: o.dvj, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C10066dvj {
private static InterfaceC15579guf d;
private static InterfaceC15579guf e;
private static final String[] c = {"android.permission.WRITE_EXTERNAL_STORAGE"};
private static final String[] a = {"android.permission.READ_MEDIA_IMAGES"};
public static final void c(DeejungInstallmentsConfirmationActivity deejungInstallmentsConfirmationActivity, C0432Gk c0432Gk) {
C14957gcv.e(deejungInstallmentsConfirmationActivity, "");
C14957gcv.e(c0432Gk, "");
String[] strArr = a;
if (C15581guh.b(deejungInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
C14957gcv.e(c0432Gk, "");
deejungInstallmentsConfirmationActivity.c(c0432Gk, false);
return;
}
d = new C10065dvi(deejungInstallmentsConfirmationActivity, c0432Gk, false);
DeejungInstallmentsConfirmationActivity deejungInstallmentsConfirmationActivity2 = deejungInstallmentsConfirmationActivity;
if (!C15581guh.aDf_(deejungInstallmentsConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungInstallmentsConfirmationActivity2, strArr, 26);
return;
}
InterfaceC15579guf interfaceC15579guf = d;
if (interfaceC15579guf != null) {
InterfaceC15579guf interfaceC15579guf2 = interfaceC15579guf;
C14957gcv.e(interfaceC15579guf2, "");
deejungInstallmentsConfirmationActivity.b(interfaceC15579guf2);
}
}
public static final void b(DeejungInstallmentsConfirmationActivity deejungInstallmentsConfirmationActivity, C0432Gk c0432Gk) {
C14957gcv.e(deejungInstallmentsConfirmationActivity, "");
C14957gcv.e(c0432Gk, "");
String[] strArr = c;
if (C15581guh.b(deejungInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
deejungInstallmentsConfirmationActivity.c(c0432Gk, false);
return;
}
e = new C10068dvl(deejungInstallmentsConfirmationActivity, c0432Gk, false);
DeejungInstallmentsConfirmationActivity deejungInstallmentsConfirmationActivity2 = deejungInstallmentsConfirmationActivity;
if (!C15581guh.aDf_(deejungInstallmentsConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungInstallmentsConfirmationActivity2, strArr, 25);
return;
}
InterfaceC15579guf interfaceC15579guf = e;
if (interfaceC15579guf != null) {
deejungInstallmentsConfirmationActivity.b(interfaceC15579guf);
}
}
public static final void d(DeejungInstallmentsConfirmationActivity deejungInstallmentsConfirmationActivity, int i, int[] iArr) {
C14957gcv.e(deejungInstallmentsConfirmationActivity, "");
C14957gcv.e(iArr, "");
if (i == 25) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf = e;
if (interfaceC15579guf != null) {
interfaceC15579guf.a();
}
} else {
String[] strArr = c;
if (!C15581guh.aDf_(deejungInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
DeejungInstallmentsConfirmationActivity.j();
} else {
DeejungInstallmentsConfirmationActivity.b(new Object[0], -1471838889, 1471838892, (int) System.currentTimeMillis());
}
}
e = null;
return;
}
if (i == 26) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf2 = d;
if (interfaceC15579guf2 != null) {
interfaceC15579guf2.a();
}
} else {
String[] strArr2 = a;
if (!C15581guh.aDf_(deejungInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr2, strArr2.length))) {
DeejungInstallmentsConfirmationActivity.g();
} else {
DeejungInstallmentsConfirmationActivity.f();
}
}
d = null;
}
}
}