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

78 lines
3.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import androidx.fragment.app.FragmentActivity;
import com.scb.phone.view.custom.common.CustomProxyNumber;
import com.scb.phone.view.fragment.prelogin.quickpromptpay.QuickPromptPayFragment;
import java.lang.ref.WeakReference;
/* renamed from: o.ftk, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C14467ftk {
private static final String[] a = {"android.permission.READ_CONTACTS"};
public static void b(QuickPromptPayFragment quickPromptPayFragment) {
FragmentActivity requireActivity = quickPromptPayFragment.requireActivity();
String[] strArr = a;
if (!C15581guh.b(requireActivity, strArr)) {
if (C15581guh.e(quickPromptPayFragment, strArr)) {
quickPromptPayFragment.b(new LWm(quickPromptPayFragment, (byte) 0));
return;
} else {
quickPromptPayFragment.requestPermissions(strArr, 101);
return;
}
}
CustomProxyNumber customProxyNumber = quickPromptPayFragment.mCustomProxyNumber;
CustomProxyNumber.b(new Object[]{customProxyNumber}, -59289781, 59289781, System.identityHashCode(customProxyNumber));
}
public static void e(QuickPromptPayFragment quickPromptPayFragment, int i, int[] iArr) {
if (i == 101) {
if (!C15581guh.d(iArr)) {
if (!C15581guh.e(quickPromptPayFragment, a)) {
quickPromptPayFragment.h();
return;
} else {
quickPromptPayFragment.i();
return;
}
}
CustomProxyNumber customProxyNumber = quickPromptPayFragment.mCustomProxyNumber;
CustomProxyNumber.b(new Object[]{customProxyNumber}, -59289781, 59289781, System.identityHashCode(customProxyNumber));
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ftk$LWm */
/* loaded from: classes5.dex */
public static final class LWm implements InterfaceC15577gud {
private final WeakReference<QuickPromptPayFragment> c;
private LWm(QuickPromptPayFragment quickPromptPayFragment) {
this.c = new WeakReference<>(quickPromptPayFragment);
}
@Override // o.InterfaceC15577gud
public final void c() {
QuickPromptPayFragment quickPromptPayFragment = this.c.get();
if (quickPromptPayFragment == null) {
return;
}
quickPromptPayFragment.requestPermissions(C14467ftk.a, 101);
}
@Override // o.InterfaceC15577gud
public final void e() {
QuickPromptPayFragment quickPromptPayFragment = this.c.get();
if (quickPromptPayFragment == null) {
return;
}
quickPromptPayFragment.i();
}
/* synthetic */ LWm(QuickPromptPayFragment quickPromptPayFragment, byte b) {
this(quickPromptPayFragment);
}
}
}