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

64 lines
2.6 KiB
Java

package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.ntb.touchpoint.TouchPointLivenessCheckActivity;
import java.util.Arrays;
/* renamed from: o.eei, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11405eei {
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 a(TouchPointLivenessCheckActivity touchPointLivenessCheckActivity) {
C14957gcv.e(touchPointLivenessCheckActivity, "");
String[] strArr = a;
if (C15581guh.b(touchPointLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
touchPointLivenessCheckActivity.J();
} else {
ActivityCompat.lM_(touchPointLivenessCheckActivity, strArr, 134);
}
}
public static final void b(TouchPointLivenessCheckActivity touchPointLivenessCheckActivity) {
C14957gcv.e(touchPointLivenessCheckActivity, "");
String[] strArr = e;
if (C15581guh.b(touchPointLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
touchPointLivenessCheckActivity.L();
} else {
ActivityCompat.lM_(touchPointLivenessCheckActivity, strArr, 135);
}
}
public static final void c(TouchPointLivenessCheckActivity touchPointLivenessCheckActivity, int i, int[] iArr) {
C14957gcv.e(touchPointLivenessCheckActivity, "");
C14957gcv.e(iArr, "");
if (i == 134) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
touchPointLivenessCheckActivity.J();
return;
}
String[] strArr = a;
if (!C15581guh.aDf_(touchPointLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
touchPointLivenessCheckActivity.ax_();
return;
} else {
touchPointLivenessCheckActivity.r();
return;
}
}
if (i == 135) {
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
touchPointLivenessCheckActivity.L();
return;
}
String[] strArr2 = e;
if (!C15581guh.aDf_(touchPointLivenessCheckActivity, (String[]) Arrays.copyOf(strArr2, strArr2.length))) {
touchPointLivenessCheckActivity.l();
} else {
touchPointLivenessCheckActivity.s();
}
}
}
}