40 lines
1.5 KiB
Java
40 lines
1.5 KiB
Java
package o;
|
|
|
|
import androidx.core.app.ActivityCompat;
|
|
import com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity;
|
|
|
|
/* renamed from: o.ecC, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C11267ecC {
|
|
private static final String[] e = {"android.permission.CAMERA", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"};
|
|
private static final String[] a = {"android.permission.CAMERA", "android.permission.READ_MEDIA_IMAGES"};
|
|
|
|
public static void e(NdidNationalIdInputActivity ndidNationalIdInputActivity) {
|
|
String[] strArr = e;
|
|
if (!C15581guh.b(ndidNationalIdInputActivity, strArr)) {
|
|
ActivityCompat.lM_(ndidNationalIdInputActivity, strArr, 92);
|
|
} else {
|
|
ndidNationalIdInputActivity.k();
|
|
}
|
|
}
|
|
|
|
public static void c(NdidNationalIdInputActivity ndidNationalIdInputActivity) {
|
|
String[] strArr = a;
|
|
if (!C15581guh.b(ndidNationalIdInputActivity, strArr)) {
|
|
ActivityCompat.lM_(ndidNationalIdInputActivity, strArr, 93);
|
|
} else {
|
|
ndidNationalIdInputActivity.k();
|
|
}
|
|
}
|
|
|
|
public static void b(NdidNationalIdInputActivity ndidNationalIdInputActivity, int i, int[] iArr) {
|
|
if (i == 92) {
|
|
if (C15581guh.d(iArr)) {
|
|
ndidNationalIdInputActivity.k();
|
|
}
|
|
} else if (i == 93 && C15581guh.d(iArr)) {
|
|
ndidNationalIdInputActivity.k();
|
|
}
|
|
}
|
|
}
|