what-the-bank/sources/com/scb/phone/view/fragment/wifisettings/WifiSettingsFragment.java

416 lines
14 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.wifisettings;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.splash.SplashActivity;
import com.scb.phone.view.fragment.wifisettings.WifiSettingsFragment;
import java.util.concurrent.TimeUnit;
import o.AbstractC13163fSk;
import o.C12914fKz;
import o.C13417fZt;
import o.C16565pPd;
import o.fKM;
import o.fRR;
import o.fSJ;
import o.fSQ;
import o.guQ;
import o.jXq;
/* loaded from: classes5.dex */
public class WifiSettingsFragment extends Hilt_WifiSettingsFragment {
private static int h = 1;
private static int j;
private C16565pPd c = new C16565pPd();
private fSJ d;
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~(i4 | i2);
int i8 = (i * 398) + (i2 * (-396)) + (((~(i5 | i2)) | i6 | i7) * (-397)) + (i7 * (-397)) + (((~(i | (~i2))) | i3 | i7) * 397);
return i8 != 1 ? i8 != 2 ? i8 != 3 ? i8 != 4 ? i8 != 5 ? a(objArr) : i(objArr) : d(objArr) : b(objArr) : c(objArr) : e(objArr);
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
jXq jxq;
int i = 2 % 2;
int i2 = j;
int i3 = (i2 & 23) + (i2 | 23);
h = i3 % 128;
int i4 = i3 % 2;
View inflate = layoutInflater.inflate(R.layout.2131559978, viewGroup, false);
ButterKnife.c(this, inflate);
int i5 = h;
int i6 = ((i5 | 67) << 1) - (i5 ^ 67);
j = i6 % 128;
if (i6 % 2 == 0) {
aa();
C16565pPd c16565pPd = this.c;
if (getActivity() != null) {
int i7 = j;
int i8 = (i7 ^ 35) + ((i7 & 35) << 1);
h = i8 % 128;
if (i8 % 2 == 0) {
jxq = ((BaseActivity) getActivity()).scbAnalytics;
int i9 = 7 / 0;
} else {
jxq = ((BaseActivity) getActivity()).scbAnalytics;
}
int i10 = j;
int i11 = ((i10 & 82) + (i10 | 82)) - 1;
h = i11 % 128;
int i12 = i11 % 2;
c16565pPd.c(jxq, "registration_wifialert");
int i13 = h;
int i14 = (((i13 ^ 107) | (i13 & 107)) << 1) - (((~i13) & 107) | (i13 & (-108)));
j = i14 % 128;
int i15 = i14 % 2;
}
int i16 = j;
int i17 = i16 & 9;
int i18 = (i16 ^ 9) | i17;
int i19 = ((i17 | i18) << 1) - (i18 ^ i17);
h = i19 % 128;
if (i19 % 2 != 0) {
return inflate;
}
throw null;
}
aa();
throw null;
}
private static /* synthetic */ Object e(Object[] objArr) {
WifiSettingsFragment wifiSettingsFragment = (WifiSettingsFragment) objArr[0];
int i = 2 % 2;
int i2 = j + 97;
h = i2 % 128;
int i3 = i2 % 2;
super.aa();
wifiSettingsFragment.Y();
String string = wifiSettingsFragment.getString(R.string.wifi_title);
int i4 = h;
int i5 = (((i4 & (-4)) | ((~i4) & 3)) - (~((i4 & 3) << 1))) - 1;
j = i5 % 128;
int i6 = i5 % 2;
Object obj = null;
wifiSettingsFragment.u(string);
if (i6 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onWifiSettingsClick() {
int i = 2 % 2;
startActivity(new Intent("android.settings.WIFI_SETTINGS"));
System.identityHashCode(this);
int identityHashCode = System.identityHashCode(this);
int i2 = ~identityHashCode;
int i3 = (i2 & 1407439695) | ((~i2) & (-1407439696));
int i4 = i2 & (-1407439696);
int i5 = (i3 & i4) | (i3 ^ i4);
int i6 = (i5 | (~i5)) & (~i5);
int i7 = ((~i6) & 1132597832) | ((-1132597833) & i6);
int i8 = i6 & 1132597832;
int i9 = ((i8 & i7) | (i7 ^ i8)) * (-1188);
int i10 = (-365280952) & i9;
int i11 = -(-((i9 ^ (-365280952)) | i10));
int i12 = (i10 ^ i11) + ((i11 & i10) << 1);
int i13 = 1407439695 ^ identityHashCode;
int i14 = identityHashCode & 1407439695;
int i15 = (i14 & i13) | (i13 ^ i14);
int i16 = ((i15 | (~i15)) & (~i15)) | 1132597832;
int i17 = i2 & 1334983240;
int i18 = (~i17) & (i2 | 1334983240);
int i19 = ~((i17 & i18) | (i18 ^ i17));
int i20 = i16 ^ i19;
int i21 = i16 & i19;
int i22 = ((i21 & i20) | (i20 ^ i21)) * 594;
int i23 = i12 & i22;
int i24 = i23 + ((i22 ^ i12) | i23);
int i25 = (1407439695 ^ i2) | (1407439695 & i2);
int i26 = (i25 | (~i25)) & (~i25);
int i27 = (1609825103 & i26) | ((~i26) & (-1609825104));
int i28 = i26 & (-1609825104);
int i29 = (i28 & i27) | (i27 ^ i28);
int i30 = i2 & 1334983240;
int i31 = ((i2 | 1334983240) & (~i30)) | i30;
int i32 = (i31 | (~i31)) & (~i31);
int i33 = i29 & i32;
int i34 = (i29 | i32) & (~i33);
int i35 = -(-(((i34 & i33) | (i34 ^ i33)) * 594));
int i36 = i24 & i35;
int i37 = (i35 | i24) & (~i36);
int i38 = -(-(i36 << 1));
if (837283854 <= (i37 ^ i38) + ((i37 & i38) << 1)) {
throw null;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
WifiSettingsFragment wifiSettingsFragment = (WifiSettingsFragment) objArr[0];
int i = 2 % 2;
int i2 = h;
int i3 = i2 & 49;
int i4 = -(-((i2 ^ 49) | i3));
int i5 = (i3 ^ i4) + ((i4 & i3) << 1);
j = i5 % 128;
int i6 = i5 % 2;
if (wifiSettingsFragment.getContext() != null) {
int i7 = j;
int i8 = (i7 ^ 111) + ((i7 & 111) << 1);
h = i8 % 128;
int i9 = i8 % 2;
if (((fKM) C12914fKz.e(new Object[]{wifiSettingsFragment.getContext()}, 918356080, -918356065, (int) System.currentTimeMillis())) == fKM.CELLULAR) {
int i10 = h;
int i11 = (i10 | 23) << 1;
int i12 = -(i10 ^ 23);
int i13 = (i11 & i12) + (i12 | i11);
j = i13 % 128;
int i14 = i13 % 2;
c(new Object[]{wifiSettingsFragment}, -175625977, 175625977, System.identityHashCode(wifiSettingsFragment));
int i15 = h;
int i16 = (i15 & (-8)) | ((~i15) & 7);
int i17 = -(-((i15 & 7) << 1));
int i18 = ((i16 | i17) << 1) - (i17 ^ i16);
j = i18 % 128;
if (i18 % 2 != 0) {
int i19 = 5 % 4;
}
}
}
int i20 = j;
int i21 = i20 & 47;
int i22 = ((i20 ^ 47) | i21) << 1;
int i23 = -((i20 | 47) & (~i21));
int i24 = (i22 & i23) + (i23 | i22);
h = i24 % 128;
int i25 = i24 % 2;
return null;
}
private static /* synthetic */ Object a(Object[] objArr) {
WifiSettingsFragment wifiSettingsFragment = (WifiSettingsFragment) objArr[0];
int i = 2 % 2;
wifiSettingsFragment.v();
Intent intent = new Intent(wifiSettingsFragment.getActivity(), (Class<?>) SplashActivity.class);
int i2 = (-2) - ((h + 16) ^ (-1));
j = i2 % 128;
if (i2 % 2 != 0) {
intent.addFlags(268468224);
wifiSettingsFragment.startActivity(intent);
int i3 = 22 / 0;
return null;
}
intent.addFlags(268468224);
wifiSettingsFragment.startActivity(intent);
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onDestroy() {
int i = 2 % 2;
int i2 = h;
int i3 = i2 & 43;
int i4 = -(-(i2 | 43));
int i5 = (i3 & i4) + (i4 | i3);
j = i5 % 128;
Object obj = null;
if (i5 % 2 == 0) {
aq_();
super.onDestroy();
int i6 = (-2) - ((j + 34) ^ (-1));
h = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
aq_();
super.onDestroy();
throw null;
}
private static /* synthetic */ Object i(Object[] objArr) {
WifiSettingsFragment wifiSettingsFragment = (WifiSettingsFragment) objArr[0];
int i = 2 % 2;
int i2 = h;
int i3 = ((i2 | 33) << 1) - (i2 ^ 33);
j = i3 % 128;
if (i3 % 2 != 0) {
c(new Object[]{wifiSettingsFragment}, -868239141, 868239144, System.identityHashCode(wifiSettingsFragment));
int i4 = 8 / 0;
} else {
c(new Object[]{wifiSettingsFragment}, -868239141, 868239144, System.identityHashCode(wifiSettingsFragment));
}
int i5 = h;
int i6 = (i5 | 91) << 1;
int i7 = -(i5 ^ 91);
int i8 = ((i6 | i7) << 1) - (i7 ^ i6);
j = i8 % 128;
int i9 = i8 % 2;
return null;
}
@Override // androidx.fragment.app.Fragment
public void onStart() {
AbstractC13163fSk<Long> interval;
int i = 2 % 2;
int i2 = j + 93;
h = i2 % 128;
if (i2 % 2 == 0) {
super.onStart();
interval = AbstractC13163fSk.interval(0L, TimeUnit.SECONDS);
} else {
super.onStart();
interval = AbstractC13163fSk.interval(1L, TimeUnit.SECONDS);
}
int i3 = h;
int i4 = i3 & 79;
int i5 = (i4 - (~((i3 ^ 79) | i4))) - 1;
j = i5 % 128;
int i6 = i5 % 2;
AbstractC13163fSk<Long> observeOn = interval.subscribeOn(C13417fZt.c()).observeOn(fRR.e());
fSQ<? super Long> fsq = new fSQ(this) { // from class: o.fHL
private WifiSettingsFragment c;
@Override // o.fSQ
public final void c(Object obj) {
WifiSettingsFragment.c(new Object[]{this.c}, -1959192603, 1959192605, (int) System.currentTimeMillis());
}
{
this.c = this;
}
};
fSQ<? super Throwable> fsq2 = new fSQ() { // from class: o.fHI
@Override // o.fSQ
public final void c(Object obj) {
WifiSettingsFragment.c(new Object[]{(Throwable) obj}, -677507519, 677507523, (int) System.currentTimeMillis());
}
};
int i7 = j + 64;
int i8 = (i7 ^ (-1)) + (i7 << 1);
h = i8 % 128;
int i9 = i8 % 2;
this.d = observeOn.subscribe(fsq, fsq2);
int i10 = h + 55;
j = i10 % 128;
if (i10 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.fragment.app.Fragment
public void onStop() {
int i = 2 % 2;
int i2 = h + 103;
j = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
super.onStop();
obj.hashCode();
throw null;
}
super.onStop();
fSJ fsj = this.d;
if (fsj != null && !fsj.isDisposed()) {
int i3 = j;
int i4 = i3 & 101;
int i5 = (i4 - (~(-(-((i3 ^ 101) | i4))))) - 1;
h = i5 % 128;
int i6 = i5 % 2;
this.d.dispose();
int i7 = h;
int i8 = i7 & 81;
int i9 = -(-((i7 ^ 81) | i8));
int i10 = (i8 & i9) + (i9 | i8);
j = i10 % 128;
int i11 = i10 % 2;
}
int i12 = h;
int i13 = (i12 & 24) + (i12 | 24);
int i14 = (i13 ^ (-1)) + (i13 << 1);
j = i14 % 128;
if (i14 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
Throwable th = (Throwable) objArr[0];
int i = 2 % 2;
int i2 = (-2) - ((h + 106) ^ (-1));
j = i2 % 128;
int i3 = i2 % 2;
guQ.a(th);
int i4 = j;
int i5 = i4 & 3;
int i6 = (i4 ^ 3) | i5;
int i7 = (i5 ^ i6) + ((i6 & i5) << 1);
h = i7 % 128;
int i8 = i7 % 2;
return null;
}
private static /* synthetic */ Object c(Object[] objArr) {
WifiSettingsFragment wifiSettingsFragment = (WifiSettingsFragment) objArr[0];
int i = 2 % 2;
int i2 = j;
int i3 = ((i2 & (-78)) | ((~i2) & 77)) + ((i2 & 77) << 1);
h = i3 % 128;
if (i3 % 2 == 0) {
c(new Object[]{wifiSettingsFragment}, -695733544, 695733549, System.identityHashCode(wifiSettingsFragment));
int i4 = 5 / 0;
} else {
c(new Object[]{wifiSettingsFragment}, -695733544, 695733549, System.identityHashCode(wifiSettingsFragment));
}
int i5 = h;
int i6 = i5 ^ 41;
int i7 = ((i5 & 41) | i6) << 1;
int i8 = -i6;
int i9 = (i7 ^ i8) + ((i7 & i8) << 1);
j = i9 % 128;
if (i9 % 2 != 0) {
int i10 = 74 / 0;
}
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment
public final void aa() {
c(new Object[]{this}, -920165536, 920165537, System.identityHashCode(this));
}
private void h() {
c(new Object[]{this}, -175625977, 175625977, System.identityHashCode(this));
}
private void i() {
c(new Object[]{this}, -868239141, 868239144, System.identityHashCode(this));
}
private /* synthetic */ void d() throws Throwable {
c(new Object[]{this}, -695733544, 695733549, System.identityHashCode(this));
}
}