正在查看: OVO v3.139.0 应用的 EditProfileSuccessLandingScreenActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 EditProfileSuccessLandingScreenActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package ovo.id.user.profile.presentation.editprofile;
import android.content.Context;
import android.os.Bundle;
import androidx.appcompat.widget.Toolbar;
import androidx.databinding.ViewDataBinding;
import java.util.Map;
import kotlin.Metadata;
import o.i.aac;
import o.i.dac;
import o.i.e7c;
import o.i.fm2;
import o.i.fv2;
import o.i.hkc;
import o.i.p1g;
import o.i.pvm;
import o.i.r20;
import o.i.rs2;
import o.i.sid;
import o.i.snk;
import o.i.t8;
import o.i.tid;
import o.i.ua8;
import o.i.uh;
import o.i.vk7;
import o.i.xh;
import o.i.xtd;
import o.i.z8;
import o.i.zu5;
import ovo.id.analytics.AnalyticType;
import ovo.id.base.BaseActivity;
import ovo.id.core.constant.ChangePhoneNumberAction;
import ovo.id.core.constant.VerificationType;
import ovo.id.ravier.widgets.RavierCommonLayoutView;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lovo/id/user/profile/presentation/editprofile/EditProfileSuccessLandingScreenActivity;", "Lovo/id/base/BaseActivity;", "<init>", "()V", "profile-ui_release"}, k = 1, mv = {1, 8, 0})
public final class EditProfileSuccessLandingScreenActivity extends BaseActivity {
public sid G;
public t8 H;
public class a {
public static final int[] a;
static {
int[] iArr = new int[VerificationType.values().length];
try {
iArr[VerificationType.PHONE_VERIFICATION.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[VerificationType.EMAIL_VERIFICATION.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
a = iArr;
}
}
public static final class b extends ua8 implements zu5<p1g> {
public final ChangePhoneNumberAction b;
public final EditProfileSuccessLandingScreenActivity c;
public b(ChangePhoneNumberAction changePhoneNumberAction, EditProfileSuccessLandingScreenActivity editProfileSuccessLandingScreenActivity) {
super(0);
this.b = changePhoneNumberAction;
this.c = editProfileSuccessLandingScreenActivity;
}
public final Object invoke() {
ChangePhoneNumberAction changePhoneNumberAction = ChangePhoneNumberAction.BEFORE_LOGIN;
ChangePhoneNumberAction changePhoneNumberAction2 = this.b;
?? r2 = this.c;
if (changePhoneNumberAction2 == changePhoneNumberAction) {
uh.a((Context) r2, xtd.a.c(xtd.a, "Button Click", "Oke", "Phone Number Changed", 8));
}
sid sidVar = r2.G;
if (sidVar != null) {
tid.a((Context) r2, sidVar);
return p1g.a;
}
vk7.m("screenRouter");
throw null;
}
}
public final void G0() {
rs2 rs2Var = r20.k;
if (rs2Var == null) {
vk7.m("profileComponent");
throw null;
}
sid F = new fm2(new snk(), new hkc(), rs2Var).a.F();
pvm.p(F);
this.G = F;
}
public final void onBackPressed() {
sid sidVar = this.G;
if (sidVar != null) {
tid.a(this, sidVar);
} else {
vk7.m("screenRouter");
throw null;
}
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(e7c.activity_edit_profile_success_landing_screen);
ViewDataBinding c = fv2.c(this, e7c.activity_edit_profile_success_landing_screen);
vk7.e(c, "setContentView(this, R.l…e_success_landing_screen)");
this.H = (t8) c;
String stringExtra = getIntent().getStringExtra("extra_verification_type");
if (stringExtra == null) {
stringExtra = VerificationType.PHONE_VERIFICATION.name();
}
vk7.e(stringExtra, "intent.getStringExtra(Ge…e.PHONE_VERIFICATION.name");
VerificationType valueOf = VerificationType.valueOf(stringExtra);
String stringExtra2 = getIntent().getStringExtra("extra_change_phone_number_action");
if (stringExtra2 == null) {
stringExtra2 = ChangePhoneNumberAction.AFTER_LOGIN.name();
}
vk7.e(stringExtra2, "intent.getStringExtra(Ge…erAction.AFTER_LOGIN.name");
ChangePhoneNumberAction valueOf2 = ChangePhoneNumberAction.valueOf(stringExtra2);
ChangePhoneNumberAction changePhoneNumberAction = ChangePhoneNumberAction.BEFORE_LOGIN;
if (valueOf2 == changePhoneNumberAction) {
xtd.a aVar = xtd.a;
uh.a(this, new xh(AnalyticType.LEANPLUM_STATE, "state/phone_number_changed", (Map) null, 12));
uh.a(this, xtd.a.c(aVar, "Page Load", null, "Phone Number Changed", 10));
}
t8 t8Var = this.H;
if (t8Var == null) {
vk7.m("binding");
throw null;
}
t8Var.w(this);
Toolbar toolbar = t8Var.f1290u;
vk7.e(toolbar, "toolbar");
z8.g(this, toolbar, (r14 & 2) != 0, (r14 & 4) != 0, (r14 & 8) != 0 ? null : Integer.valueOf(dac.empty_string), (r14 & 16) != 0 ? null : null);
int i = a.a[valueOf.ordinal()];
RavierCommonLayoutView ravierCommonLayoutView = t8Var.f1291v;
if (i == 1) {
ravierCommonLayoutView.setTitle(getString(dac.title_success_change_phone_number));
ravierCommonLayoutView.setDescription(valueOf2 == changePhoneNumberAction ? getString(dac.desc_success_self_change_phone_number) : getString(dac.desc_success_change_phone_number));
ravierCommonLayoutView.setPrimaryButton(getString(aac.ovo_action_ok));
} else if (i == 2) {
ravierCommonLayoutView.setTitle(getString(dac.title_success_change_email));
ravierCommonLayoutView.setDescription(getString(dac.desc_success_change_email));
ravierCommonLayoutView.setPrimaryButton(getString(aac.ovo_action_ok));
}
ravierCommonLayoutView.setPrimaryHandler(new b(valueOf2, this));
}
}