37 lines
1.3 KiB
Java
37 lines
1.3 KiB
Java
package o;
|
|
|
|
import androidx.core.app.ActivityCompat;
|
|
import com.scb.phone.view.activity.ScbMapActivity;
|
|
import java.util.Arrays;
|
|
|
|
/* renamed from: o.dri, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C9853dri {
|
|
private static final String[] c = {"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"};
|
|
|
|
public static final void b(ScbMapActivity scbMapActivity) {
|
|
C14957gcv.e(scbMapActivity, "");
|
|
String[] strArr = c;
|
|
if (!C15581guh.b(scbMapActivity, (String[]) Arrays.copyOf(strArr, strArr.length))) {
|
|
ScbMapActivity scbMapActivity2 = scbMapActivity;
|
|
if (C15581guh.aDf_(scbMapActivity2, (String[]) Arrays.copyOf(strArr, strArr.length))) {
|
|
C9855drk c9855drk = new C9855drk(scbMapActivity);
|
|
C14957gcv.e(c9855drk, "");
|
|
scbMapActivity.c(c9855drk);
|
|
return;
|
|
}
|
|
ActivityCompat.lM_(scbMapActivity2, strArr, 123);
|
|
return;
|
|
}
|
|
scbMapActivity.r();
|
|
}
|
|
|
|
public static final void c(ScbMapActivity scbMapActivity, int i, int[] iArr) {
|
|
C14957gcv.e(scbMapActivity, "");
|
|
C14957gcv.e(iArr, "");
|
|
if (i == 123 && C15581guh.d(Arrays.copyOf(iArr, iArr.length))) {
|
|
scbMapActivity.r();
|
|
}
|
|
}
|
|
}
|