63 lines
2.5 KiB
Java
63 lines
2.5 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import com.scb.phone.view.fragment.demo.ntb.NTBLifestyleLandingFragment;
|
||
|
import java.lang.ref.WeakReference;
|
||
|
|
||
|
/* renamed from: o.eRq, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C10884eRq {
|
||
|
private static final String[] a = {"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"};
|
||
|
|
||
|
public static void d(NTBLifestyleLandingFragment nTBLifestyleLandingFragment) {
|
||
|
FragmentActivity requireActivity = nTBLifestyleLandingFragment.requireActivity();
|
||
|
String[] strArr = a;
|
||
|
if (C15581guh.b(requireActivity, strArr)) {
|
||
|
NTBLifestyleLandingFragment.b(new Object[]{nTBLifestyleLandingFragment}, -373578370, 373578370, System.identityHashCode(nTBLifestyleLandingFragment));
|
||
|
} else {
|
||
|
new LWm(nTBLifestyleLandingFragment);
|
||
|
nTBLifestyleLandingFragment.requestPermissions(strArr, 79);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.eRq$LWm */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class LWm implements InterfaceC15579guf {
|
||
|
private final WeakReference<NTBLifestyleLandingFragment> c;
|
||
|
private final Intent e;
|
||
|
|
||
|
@Override // o.InterfaceC15577gud
|
||
|
public final void e() {
|
||
|
}
|
||
|
|
||
|
private LWm(NTBLifestyleLandingFragment nTBLifestyleLandingFragment, Intent intent) {
|
||
|
this.c = new WeakReference<>(nTBLifestyleLandingFragment);
|
||
|
this.e = null;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC15577gud
|
||
|
public final void c() {
|
||
|
NTBLifestyleLandingFragment nTBLifestyleLandingFragment = this.c.get();
|
||
|
if (nTBLifestyleLandingFragment == null) {
|
||
|
return;
|
||
|
}
|
||
|
nTBLifestyleLandingFragment.requestPermissions(C10884eRq.a, 79);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC15579guf
|
||
|
public final void a() {
|
||
|
NTBLifestyleLandingFragment nTBLifestyleLandingFragment = this.c.get();
|
||
|
if (nTBLifestyleLandingFragment == null) {
|
||
|
return;
|
||
|
}
|
||
|
NTBLifestyleLandingFragment.b(new Object[]{nTBLifestyleLandingFragment}, -373578370, 373578370, System.identityHashCode(nTBLifestyleLandingFragment));
|
||
|
}
|
||
|
|
||
|
/* synthetic */ LWm(NTBLifestyleLandingFragment nTBLifestyleLandingFragment) {
|
||
|
this(nTBLifestyleLandingFragment, null);
|
||
|
}
|
||
|
}
|
||
|
}
|