63 lines
2.6 KiB
Java
63 lines
2.6 KiB
Java
|
package o;
|
||
|
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import com.scb.phone.view.fragment.singleform.SingleFormSuccessfulFragment;
|
||
|
import java.util.Arrays;
|
||
|
import org.jmrtd.cbeff.ISO781611;
|
||
|
|
||
|
/* renamed from: o.fBc, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12583fBc {
|
||
|
private static InterfaceC15579guf b;
|
||
|
private static InterfaceC15579guf c;
|
||
|
private static final String[] d = {"android.permission.WRITE_EXTERNAL_STORAGE"};
|
||
|
private static final String[] a = {"android.permission.READ_MEDIA_IMAGES"};
|
||
|
|
||
|
public static final void e(SingleFormSuccessfulFragment singleFormSuccessfulFragment, SingleFormSuccessfulFragment.HBt hBt) {
|
||
|
C14957gcv.e(singleFormSuccessfulFragment, "");
|
||
|
C14957gcv.e(hBt, "");
|
||
|
FragmentActivity requireActivity = singleFormSuccessfulFragment.requireActivity();
|
||
|
String[] strArr = a;
|
||
|
if (C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
|
||
|
C14957gcv.e(hBt, "");
|
||
|
singleFormSuccessfulFragment.e(hBt);
|
||
|
} else {
|
||
|
c = new C12584fBd(singleFormSuccessfulFragment, hBt);
|
||
|
singleFormSuccessfulFragment.requestPermissions(strArr, ISO781611.CREATION_DATE_AND_TIME_TAG);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final void a(SingleFormSuccessfulFragment singleFormSuccessfulFragment, SingleFormSuccessfulFragment.HBt hBt) {
|
||
|
C14957gcv.e(singleFormSuccessfulFragment, "");
|
||
|
C14957gcv.e(hBt, "");
|
||
|
FragmentActivity requireActivity = singleFormSuccessfulFragment.requireActivity();
|
||
|
String[] strArr = d;
|
||
|
if (C15581guh.b(requireActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
|
||
|
singleFormSuccessfulFragment.e(hBt);
|
||
|
} else {
|
||
|
b = new C12585fBe(singleFormSuccessfulFragment, hBt);
|
||
|
singleFormSuccessfulFragment.requestPermissions(strArr, ISO781611.BIOMETRIC_SUBTYPE_TAG);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final void b(SingleFormSuccessfulFragment singleFormSuccessfulFragment, int i, int[] iArr) {
|
||
|
InterfaceC15579guf interfaceC15579guf;
|
||
|
InterfaceC15579guf interfaceC15579guf2;
|
||
|
C14957gcv.e(singleFormSuccessfulFragment, "");
|
||
|
C14957gcv.e(iArr, "");
|
||
|
if (i == 130) {
|
||
|
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length)) && (interfaceC15579guf = b) != null) {
|
||
|
interfaceC15579guf.a();
|
||
|
}
|
||
|
b = null;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 131) {
|
||
|
if (C15581guh.d(Arrays.copyOf(iArr, iArr.length)) && (interfaceC15579guf2 = c) != null) {
|
||
|
interfaceC15579guf2.a();
|
||
|
}
|
||
|
c = null;
|
||
|
}
|
||
|
}
|
||
|
}
|