30 lines
1.1 KiB
Java
30 lines
1.1 KiB
Java
package o;
|
|
|
|
import androidx.core.app.ActivityCompat;
|
|
import com.scb.phone.view.activity.ndid.RpLivenessCheckActivity;
|
|
|
|
/* renamed from: o.ecG, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C11271ecG {
|
|
private static final String[] c = {"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 d(RpLivenessCheckActivity rpLivenessCheckActivity) {
|
|
String[] strArr = c;
|
|
if (C15581guh.b(rpLivenessCheckActivity, strArr)) {
|
|
rpLivenessCheckActivity.J();
|
|
} else {
|
|
ActivityCompat.lM_(rpLivenessCheckActivity, strArr, 114);
|
|
}
|
|
}
|
|
|
|
public static void c(RpLivenessCheckActivity rpLivenessCheckActivity) {
|
|
String[] strArr = a;
|
|
if (C15581guh.b(rpLivenessCheckActivity, strArr)) {
|
|
rpLivenessCheckActivity.l();
|
|
} else {
|
|
ActivityCompat.lM_(rpLivenessCheckActivity, strArr, 115);
|
|
}
|
|
}
|
|
}
|