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

129 lines
4.8 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.sme.gifting.GiftOpenSharingMomentActivity;
import java.lang.ref.WeakReference;
/* renamed from: o.eni, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C11882eni {
private static final String[] c = {"android.permission.WRITE_EXTERNAL_STORAGE"};
private static final String[] b = {"android.permission.READ_MEDIA_IMAGES"};
public static void a(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) {
String[] strArr = c;
if (C15581guh.b(giftOpenSharingMomentActivity, strArr)) {
giftOpenSharingMomentActivity.m();
} else if (C15581guh.aDf_(giftOpenSharingMomentActivity, strArr)) {
giftOpenSharingMomentActivity.d(new LWm(giftOpenSharingMomentActivity, (byte) 0));
} else {
ActivityCompat.lM_(giftOpenSharingMomentActivity, strArr, 56);
}
}
public static void d(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) {
String[] strArr = b;
if (!C15581guh.b(giftOpenSharingMomentActivity, strArr)) {
if (!C15581guh.aDf_(giftOpenSharingMomentActivity, strArr)) {
ActivityCompat.lM_(giftOpenSharingMomentActivity, strArr, 57);
return;
} else {
giftOpenSharingMomentActivity.d(new RVV(giftOpenSharingMomentActivity, (byte) 0));
return;
}
}
giftOpenSharingMomentActivity.m();
}
public static void b(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity, int i, int[] iArr) {
if (i == 56) {
if (C15581guh.d(iArr)) {
giftOpenSharingMomentActivity.m();
return;
} else if (!C15581guh.aDf_(giftOpenSharingMomentActivity, c)) {
GiftOpenSharingMomentActivity.j();
return;
} else {
GiftOpenSharingMomentActivity.e(new Object[0], 1750199747, -1750199745, (int) System.currentTimeMillis());
return;
}
}
if (i == 57) {
if (!C15581guh.d(iArr)) {
if (!C15581guh.aDf_(giftOpenSharingMomentActivity, b)) {
GiftOpenSharingMomentActivity.g();
return;
} else {
GiftOpenSharingMomentActivity.f();
return;
}
}
giftOpenSharingMomentActivity.m();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.eni$LWm */
/* loaded from: classes5.dex */
public static final class LWm implements InterfaceC15577gud {
private final WeakReference<GiftOpenSharingMomentActivity> e;
private LWm(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) {
this.e = new WeakReference<>(giftOpenSharingMomentActivity);
}
@Override // o.InterfaceC15577gud
public final void c() {
GiftOpenSharingMomentActivity giftOpenSharingMomentActivity = this.e.get();
if (giftOpenSharingMomentActivity == null) {
return;
}
ActivityCompat.lM_(giftOpenSharingMomentActivity, C11882eni.c, 56);
}
@Override // o.InterfaceC15577gud
public final void e() {
if (this.e.get() == null) {
return;
}
GiftOpenSharingMomentActivity.e(new Object[0], 1750199747, -1750199745, (int) System.currentTimeMillis());
}
/* synthetic */ LWm(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity, byte b) {
this(giftOpenSharingMomentActivity);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.eni$RVV */
/* loaded from: classes5.dex */
public static final class RVV implements InterfaceC15577gud {
private final WeakReference<GiftOpenSharingMomentActivity> d;
private RVV(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) {
this.d = new WeakReference<>(giftOpenSharingMomentActivity);
}
@Override // o.InterfaceC15577gud
public final void c() {
GiftOpenSharingMomentActivity giftOpenSharingMomentActivity = this.d.get();
if (giftOpenSharingMomentActivity == null) {
return;
}
ActivityCompat.lM_(giftOpenSharingMomentActivity, C11882eni.b, 57);
}
@Override // o.InterfaceC15577gud
public final void e() {
if (this.d.get() == null) {
return;
}
GiftOpenSharingMomentActivity.f();
}
/* synthetic */ RVV(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity, byte b) {
this(giftOpenSharingMomentActivity);
}
}
}