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

35 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import androidx.fragment.app.FragmentActivity;
import com.scb.phone.view.fragment.hml.ekyc.HmlEkycFragment;
import java.util.Arrays;
/* renamed from: o.feI, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C13645feI {
private static final String[] e = {"android.permission.CAMERA", "android.permission.WRITE_EXTERNAL_STORAGE"};
private static final String[] c = {"android.permission.CAMERA", "android.permission.READ_MEDIA_IMAGES"};
public static final void d(HmlEkycFragment hmlEkycFragment) {
C14957gcv.e(hmlEkycFragment, "");
FragmentActivity requireActivity = hmlEkycFragment.requireActivity();
String[] strArr = e;
if (C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
hmlEkycFragment.g();
} else {
hmlEkycFragment.requestPermissions(strArr, 65);
}
}
public static final void a(HmlEkycFragment hmlEkycFragment) {
C14957gcv.e(hmlEkycFragment, "");
FragmentActivity requireActivity = hmlEkycFragment.requireActivity();
String[] strArr = c;
if (!C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
hmlEkycFragment.requestPermissions(strArr, 66);
} else {
hmlEkycFragment.g();
}
}
}