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

33 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import androidx.core.app.ActivityCompat;
import com.scb.phone.view.activity.mwpartner.MwPartnerCropPhotoActivity;
/* renamed from: o.eab, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11186eab {
private static final String[] c = {"android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"};
public static void e(MwPartnerCropPhotoActivity mwPartnerCropPhotoActivity) {
String[] strArr = c;
if (C15581guh.b(mwPartnerCropPhotoActivity, strArr)) {
mwPartnerCropPhotoActivity.g();
} else {
ActivityCompat.lM_(mwPartnerCropPhotoActivity, strArr, 78);
}
}
public static void c(MwPartnerCropPhotoActivity mwPartnerCropPhotoActivity, int i, int[] iArr) {
if (i == 78) {
if (C15581guh.d(iArr)) {
mwPartnerCropPhotoActivity.g();
} else if (!C15581guh.aDf_(mwPartnerCropPhotoActivity, c)) {
MwPartnerCropPhotoActivity.f();
} else {
guQ.b("onPermissionDenied", new Object[0]);
mwPartnerCropPhotoActivity.finish();
}
}
}
}