package o; import android.content.Intent; import androidx.core.app.ActivityCompat; import com.scb.phone.view.activity.HomeActivity; /* renamed from: o.dqz, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C9817dqz { private static final String[] a = {"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"}; private static final String[] e = {"android.permission.POST_NOTIFICATIONS"}; public static void b(HomeActivity homeActivity) { String[] strArr = a; if (!C15581guh.b(homeActivity, strArr)) { ActivityCompat.lM_(homeActivity, strArr, 67); return; } homeActivity.homePresenter.e(homeActivity.al()); Intent intent = new Intent("com.scb.phone/BROADCAST_UPDATE_LOCATION"); C14957gcv.e(homeActivity, ""); C14957gcv.e(intent, ""); C0198BcN.d(homeActivity).zE_(intent); } public static void a(HomeActivity homeActivity) { String[] strArr = e; if (C15581guh.b(homeActivity, strArr)) { homeActivity.M(); } else { ActivityCompat.lM_(homeActivity, strArr, 68); } } public static void e(HomeActivity homeActivity, int i, int[] iArr) { if (i == 67) { if (!C15581guh.d(iArr)) { C15581guh.aDf_(homeActivity, a); homeActivity.homePresenter.e(homeActivity.al()); return; } homeActivity.homePresenter.e(homeActivity.al()); Intent intent = new Intent("com.scb.phone/BROADCAST_UPDATE_LOCATION"); C14957gcv.e(homeActivity, ""); C14957gcv.e(intent, ""); C0198BcN.d(homeActivity).zE_(intent); return; } if (i == 68) { if (C15581guh.d(iArr)) { homeActivity.M(); return; } guQ.a("requestPostNotificationPermissionDeny", new Object[0]); if (C6583cXR.b(homeActivity) != 0) { String[] strArr = a; if (!C15581guh.b(homeActivity, strArr)) { ActivityCompat.lM_(homeActivity, strArr, 67); return; } homeActivity.homePresenter.e(homeActivity.al()); Intent intent2 = new Intent("com.scb.phone/BROADCAST_UPDATE_LOCATION"); C14957gcv.e(homeActivity, ""); C14957gcv.e(intent2, ""); C0198BcN.d(homeActivity).zE_(intent2); } } } }