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

33 lines
1.5 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.ndidcommon.NdidCommonNationalIdInputActivity;
import java.util.Arrays;
/* renamed from: o.ecY, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11289ecY {
private static final String[] a = {"android.permission.CAMERA", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"};
private static final String[] e = {"android.permission.CAMERA", "android.permission.READ_MEDIA_IMAGES"};
public static final void d(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
String[] strArr = a;
if (!C15581guh.b(ndidCommonNationalIdInputActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(ndidCommonNationalIdInputActivity, strArr, 86);
} else {
ndidCommonNationalIdInputActivity.ay();
}
}
public static final void a(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
String[] strArr = e;
if (!C15581guh.b(ndidCommonNationalIdInputActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ActivityCompat.lM_(ndidCommonNationalIdInputActivity, strArr, 87);
} else {
ndidCommonNationalIdInputActivity.ay();
}
}
}