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

96 lines
4.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity;
import java.util.Arrays;
/* renamed from: o.dwl, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C10121dwl {
private static InterfaceC15579guf b;
private static InterfaceC15579guf d;
private static final String[] a = {"android.permission.WRITE_EXTERNAL_STORAGE"};
private static final String[] c = {"android.permission.READ_MEDIA_IMAGES"};
public static final void b(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity, GQ gq) {
C14957gcv.e(deejungTransferInstallmentsConfirmationActivity, "");
C14957gcv.e(gq, "");
String[] strArr = c;
if (C15581guh.b(deejungTransferInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
C14957gcv.e(gq, "");
deejungTransferInstallmentsConfirmationActivity.b(gq, false);
return;
}
d = new C10125dwp(deejungTransferInstallmentsConfirmationActivity, gq, false);
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity2 = deejungTransferInstallmentsConfirmationActivity;
if (!C15581guh.aDf_(deejungTransferInstallmentsConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungTransferInstallmentsConfirmationActivity2, strArr, 28);
return;
}
InterfaceC15579guf interfaceC15579guf = d;
if (interfaceC15579guf != null) {
InterfaceC15579guf interfaceC15579guf2 = interfaceC15579guf;
C14957gcv.e(interfaceC15579guf2, "");
deejungTransferInstallmentsConfirmationActivity.b(interfaceC15579guf2);
}
}
public static final void c(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity, GQ gq) {
C14957gcv.e(deejungTransferInstallmentsConfirmationActivity, "");
C14957gcv.e(gq, "");
String[] strArr = a;
if (C15581guh.b(deejungTransferInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
deejungTransferInstallmentsConfirmationActivity.b(gq, false);
return;
}
b = new C10126dwq(deejungTransferInstallmentsConfirmationActivity, gq, false);
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity2 = deejungTransferInstallmentsConfirmationActivity;
if (!C15581guh.aDf_(deejungTransferInstallmentsConfirmationActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(deejungTransferInstallmentsConfirmationActivity2, strArr, 27);
return;
}
InterfaceC15579guf interfaceC15579guf = b;
if (interfaceC15579guf != null) {
deejungTransferInstallmentsConfirmationActivity.b(interfaceC15579guf);
}
}
public static final void a(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity, int i, int[] iArr) {
C14957gcv.e(deejungTransferInstallmentsConfirmationActivity, "");
C14957gcv.e(iArr, "");
if (i == 27) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf = b;
if (interfaceC15579guf != null) {
interfaceC15579guf.a();
}
} else {
String[] strArr = a;
if (!C15581guh.aDf_(deejungTransferInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
DeejungTransferInstallmentsConfirmationActivity.h();
} else {
DeejungTransferInstallmentsConfirmationActivity.g();
}
}
b = null;
return;
}
if (i == 28) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
InterfaceC15579guf interfaceC15579guf2 = d;
if (interfaceC15579guf2 != null) {
interfaceC15579guf2.a();
}
} else {
String[] strArr2 = c;
if (!C15581guh.aDf_(deejungTransferInstallmentsConfirmationActivity, (String[]) Arrays.copyOf(strArr2, strArr2.length))) {
DeejungTransferInstallmentsConfirmationActivity.f();
} else {
DeejungTransferInstallmentsConfirmationActivity.j();
}
}
d = null;
}
}
}