69 lines
2.7 KiB
Java
69 lines
2.7 KiB
Java
package o;
|
|
|
|
import androidx.fragment.app.FragmentActivity;
|
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferToPromptPayStep1Fragment;
|
|
import java.lang.ref.WeakReference;
|
|
|
|
/* renamed from: o.fHK, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12784fHK {
|
|
private static final String[] e = {"android.permission.READ_CONTACTS"};
|
|
|
|
public static void a(TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment) {
|
|
FragmentActivity requireActivity = transferToPromptPayStep1Fragment.requireActivity();
|
|
String[] strArr = e;
|
|
if (C15581guh.b(requireActivity, strArr)) {
|
|
transferToPromptPayStep1Fragment.g();
|
|
} else if (C15581guh.e(transferToPromptPayStep1Fragment, strArr)) {
|
|
transferToPromptPayStep1Fragment.b(new HBt(transferToPromptPayStep1Fragment, (byte) 0));
|
|
} else {
|
|
transferToPromptPayStep1Fragment.requestPermissions(strArr, 136);
|
|
}
|
|
}
|
|
|
|
public static void e(TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment, int i, int[] iArr) {
|
|
if (i == 136) {
|
|
if (C15581guh.d(iArr)) {
|
|
transferToPromptPayStep1Fragment.g();
|
|
} else if (!C15581guh.e(transferToPromptPayStep1Fragment, e)) {
|
|
transferToPromptPayStep1Fragment.h();
|
|
} else {
|
|
transferToPromptPayStep1Fragment.i();
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.fHK$HBt */
|
|
/* loaded from: classes5.dex */
|
|
public static final class HBt implements InterfaceC15577gud {
|
|
private final WeakReference<TransferToPromptPayStep1Fragment> d;
|
|
|
|
private HBt(TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment) {
|
|
this.d = new WeakReference<>(transferToPromptPayStep1Fragment);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void c() {
|
|
TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment = this.d.get();
|
|
if (transferToPromptPayStep1Fragment == null) {
|
|
return;
|
|
}
|
|
transferToPromptPayStep1Fragment.requestPermissions(C12784fHK.e, 136);
|
|
}
|
|
|
|
@Override // o.InterfaceC15577gud
|
|
public final void e() {
|
|
TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment = this.d.get();
|
|
if (transferToPromptPayStep1Fragment == null) {
|
|
return;
|
|
}
|
|
transferToPromptPayStep1Fragment.i();
|
|
}
|
|
|
|
/* synthetic */ HBt(TransferToPromptPayStep1Fragment transferToPromptPayStep1Fragment, byte b) {
|
|
this(transferToPromptPayStep1Fragment);
|
|
}
|
|
}
|
|
}
|