33 lines
1.5 KiB
Java
33 lines
1.5 KiB
Java
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();
|
|
}
|
|
}
|
|
}
|