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

34 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.ndidcommon.NdidCommonRpLivenessCheckActivity;
import java.util.Arrays;
/* renamed from: o.edd, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11347edd {
private static final String[] a = {"android.permission.CAMERA", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"};
private static final String[] c = {"android.permission.CAMERA", "android.permission.READ_MEDIA_IMAGES"};
public static final void d(NdidCommonRpLivenessCheckActivity ndidCommonRpLivenessCheckActivity) {
C14957gcv.e(ndidCommonRpLivenessCheckActivity, "");
String[] strArr = a;
if (C15581guh.b(ndidCommonRpLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ndidCommonRpLivenessCheckActivity.J();
} else {
ActivityCompat.lM_(ndidCommonRpLivenessCheckActivity, strArr, 88);
}
}
public static final void c(NdidCommonRpLivenessCheckActivity ndidCommonRpLivenessCheckActivity) {
C14957gcv.e(ndidCommonRpLivenessCheckActivity, "");
String[] strArr = c;
if (C15581guh.b(ndidCommonRpLivenessCheckActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
NdidCommonRpLivenessCheckActivity.e(new Object[]{ndidCommonRpLivenessCheckActivity}, -1601210412, 1601210412, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 193665341);
} else {
ActivityCompat.lM_(ndidCommonRpLivenessCheckActivity, strArr, 89);
}
}
}