154 lines
5.9 KiB
Java
154 lines
5.9 KiB
Java
package o;
|
|
|
|
import androidx.core.app.ActivityCompat;
|
|
import com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity;
|
|
import java.lang.ref.WeakReference;
|
|
|
|
/* renamed from: o.efn, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C11463efn {
|
|
private static final String[] e = {"android.permission.CAMERA", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"};
|
|
private static final String[] b = {"android.permission.CAMERA", "android.permission.READ_MEDIA_IMAGES"};
|
|
private static final String[] a = {"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"};
|
|
|
|
public static void b(SCBUniversalWebViewActivity sCBUniversalWebViewActivity) {
|
|
String[] strArr = a;
|
|
if (C15581guh.b(sCBUniversalWebViewActivity, strArr)) {
|
|
sCBUniversalWebViewActivity.M();
|
|
} else {
|
|
ActivityCompat.lM_(sCBUniversalWebViewActivity, strArr, 118);
|
|
}
|
|
}
|
|
|
|
public static void d(SCBUniversalWebViewActivity sCBUniversalWebViewActivity) {
|
|
String[] strArr = e;
|
|
if (!C15581guh.b(sCBUniversalWebViewActivity, strArr)) {
|
|
if (C15581guh.aDf_(sCBUniversalWebViewActivity, strArr)) {
|
|
sCBUniversalWebViewActivity.e(new RVV(sCBUniversalWebViewActivity, (byte) 0));
|
|
return;
|
|
} else {
|
|
ActivityCompat.lM_(sCBUniversalWebViewActivity, strArr, 116);
|
|
return;
|
|
}
|
|
}
|
|
sCBUniversalWebViewActivity.L();
|
|
}
|
|
|
|
public static void e(SCBUniversalWebViewActivity sCBUniversalWebViewActivity) {
|
|
String[] strArr = b;
|
|
if (!C15581guh.b(sCBUniversalWebViewActivity, strArr)) {
|
|
if (!C15581guh.aDf_(sCBUniversalWebViewActivity, strArr)) {
|
|
ActivityCompat.lM_(sCBUniversalWebViewActivity, strArr, 117);
|
|
return;
|
|
} else {
|
|
sCBUniversalWebViewActivity.e(new LWm(sCBUniversalWebViewActivity, (byte) 0));
|
|
return;
|
|
}
|
|
}
|
|
sCBUniversalWebViewActivity.L();
|
|
}
|
|
|
|
public static void d(SCBUniversalWebViewActivity sCBUniversalWebViewActivity, int i, int[] iArr) {
|
|
switch (i) {
|
|
case 116:
|
|
if (!C15581guh.d(iArr)) {
|
|
if (!C15581guh.aDf_(sCBUniversalWebViewActivity, e)) {
|
|
SCBUniversalWebViewActivity.R();
|
|
return;
|
|
} else {
|
|
SCBUniversalWebViewActivity.h(new Object[0], 1681323232, -1681323228, (int) System.currentTimeMillis());
|
|
return;
|
|
}
|
|
}
|
|
sCBUniversalWebViewActivity.L();
|
|
return;
|
|
case 117:
|
|
if (!C15581guh.d(iArr)) {
|
|
if (!C15581guh.aDf_(sCBUniversalWebViewActivity, b)) {
|
|
SCBUniversalWebViewActivity.aA();
|
|
return;
|
|
} else {
|
|
SCBUniversalWebViewActivity.J();
|
|
return;
|
|
}
|
|
}
|
|
sCBUniversalWebViewActivity.L();
|
|
return;
|
|
case 118:
|
|
if (C15581guh.d(iArr)) {
|
|
sCBUniversalWebViewActivity.M();
|
|
return;
|
|
} else {
|
|
sCBUniversalWebViewActivity.signinAndLocationPresenter.d((String) null, (String) null);
|
|
return;
|
|
}
|
|
default:
|
|
return;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.efn$RVV */
|
|
/* loaded from: classes5.dex */
|
|
public static final class RVV implements InterfaceC15577gud {
|
|
private final WeakReference<SCBUniversalWebViewActivity> d;
|
|
|
|
private RVV(SCBUniversalWebViewActivity sCBUniversalWebViewActivity) {
|
|
this.d = new WeakReference<>(sCBUniversalWebViewActivity);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void c() {
|
|
SCBUniversalWebViewActivity sCBUniversalWebViewActivity = this.d.get();
|
|
if (sCBUniversalWebViewActivity == null) {
|
|
return;
|
|
}
|
|
ActivityCompat.lM_(sCBUniversalWebViewActivity, C11463efn.e, 116);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void e() {
|
|
if (this.d.get() == null) {
|
|
return;
|
|
}
|
|
SCBUniversalWebViewActivity.h(new Object[0], 1681323232, -1681323228, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
/* synthetic */ RVV(SCBUniversalWebViewActivity sCBUniversalWebViewActivity, byte b) {
|
|
this(sCBUniversalWebViewActivity);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.efn$LWm */
|
|
/* loaded from: classes5.dex */
|
|
public static final class LWm implements InterfaceC15577gud {
|
|
private final WeakReference<SCBUniversalWebViewActivity> e;
|
|
|
|
private LWm(SCBUniversalWebViewActivity sCBUniversalWebViewActivity) {
|
|
this.e = new WeakReference<>(sCBUniversalWebViewActivity);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void c() {
|
|
SCBUniversalWebViewActivity sCBUniversalWebViewActivity = this.e.get();
|
|
if (sCBUniversalWebViewActivity == null) {
|
|
return;
|
|
}
|
|
ActivityCompat.lM_(sCBUniversalWebViewActivity, C11463efn.b, 117);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void e() {
|
|
if (this.e.get() == null) {
|
|
return;
|
|
}
|
|
SCBUniversalWebViewActivity.J();
|
|
}
|
|
|
|
/* synthetic */ LWm(SCBUniversalWebViewActivity sCBUniversalWebViewActivity, byte b) {
|
|
this(sCBUniversalWebViewActivity);
|
|
}
|
|
}
|
|
}
|