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

50 lines
2.0 KiB
Java

package o;
import androidx.fragment.app.FragmentActivity;
import com.scb.phone.view.fragment.ndidcommon.NdidCommonInstructionFragment;
import java.util.Arrays;
/* renamed from: o.fps, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C14263fps {
private static final String[] b = {"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 c(NdidCommonInstructionFragment ndidCommonInstructionFragment) {
C14957gcv.e(ndidCommonInstructionFragment, "");
FragmentActivity requireActivity = ndidCommonInstructionFragment.requireActivity();
String[] strArr = c;
if (!C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ndidCommonInstructionFragment.requestPermissions(strArr, 85);
} else {
ndidCommonInstructionFragment.n();
}
}
public static final void a(NdidCommonInstructionFragment ndidCommonInstructionFragment) {
C14957gcv.e(ndidCommonInstructionFragment, "");
FragmentActivity requireActivity = ndidCommonInstructionFragment.requireActivity();
String[] strArr = b;
if (C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
ndidCommonInstructionFragment.n();
} else {
ndidCommonInstructionFragment.requestPermissions(strArr, 84);
}
}
public static final void e(NdidCommonInstructionFragment ndidCommonInstructionFragment, int i, int[] iArr) {
C14957gcv.e(ndidCommonInstructionFragment, "");
C14957gcv.e(iArr, "");
if (i != 84) {
if (i == 85 && C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
ndidCommonInstructionFragment.n();
return;
}
return;
}
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
ndidCommonInstructionFragment.n();
}
}
}