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

40 lines
1.4 KiB
Java

package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity;
/* renamed from: o.edS, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11336edS {
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(NationalIdActivity nationalIdActivity) {
String[] strArr = e;
if (C15581guh.b(nationalIdActivity, strArr)) {
nationalIdActivity.h();
} else {
ActivityCompat.lM_(nationalIdActivity, strArr, 80);
}
}
public static void c(NationalIdActivity nationalIdActivity) {
String[] strArr = a;
if (!C15581guh.b(nationalIdActivity, strArr)) {
ActivityCompat.lM_(nationalIdActivity, strArr, 81);
} else {
nationalIdActivity.h();
}
}
public static void e(NationalIdActivity nationalIdActivity, int i, int[] iArr) {
if (i == 80) {
if (C15581guh.d(iArr)) {
nationalIdActivity.h();
}
} else if (i == 81 && C15581guh.d(iArr)) {
nationalIdActivity.h();
}
}
}