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

33 lines
1.5 KiB
Java

package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity;
import java.util.Arrays;
/* renamed from: o.eki, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11723eki {
private static final String[] d = {"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 final void d(RegistrationLivenessCheckActivity registrationLivenessCheckActivity) {
C14957gcv.e(registrationLivenessCheckActivity, "");
String[] strArr = d;
if (C15581guh.b(registrationLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
registrationLivenessCheckActivity.J();
} else {
ActivityCompat.lM_(registrationLivenessCheckActivity, strArr, 102);
}
}
public static final void b(RegistrationLivenessCheckActivity registrationLivenessCheckActivity) {
C14957gcv.e(registrationLivenessCheckActivity, "");
String[] strArr = a;
if (C15581guh.b(registrationLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
registrationLivenessCheckActivity.l();
} else {
ActivityCompat.lM_(registrationLivenessCheckActivity, strArr, 103);
}
}
}