正在查看: OVO v3.139.0 应用的 SettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 SettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package ovo.id.user.profile.presentation.editprofile;
import android.view.MenuItem;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import androidx.appcompat.widget.Toolbar;
import kotlin.Metadata;
import o.i.e7c;
import o.i.fv2;
import o.i.goh;
import o.i.im8;
import o.i.mm3;
import o.i.oye;
import o.i.pt2;
import o.i.q87;
import o.i.r20;
import o.i.rs2;
import o.i.ua8;
import o.i.v84;
import o.i.vk7;
import o.i.zc;
import o.i.zu5;
import ovo.id.base.BaseActivity;
import ovo.id.webview.presentation.base.BaseWebviewActivity;
@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/SettingsActivity;", "Lovo/id/webview/presentation/base/BaseWebviewActivity;", "<init>", "()V", "profile-ui_release"}, k = 1, mv = {1, 8, 0})
public final class SettingsActivity extends BaseWebviewActivity {
public final oye G = im8.b(new a());
public static final class a extends ua8 implements zu5<zc> {
public a() {
super(0);
}
public final Object invoke() {
return (zc) fv2.c(SettingsActivity.this, e7c.activity_settings);
}
}
public final void G0() {
rs2 rs2Var = r20.k;
if (rs2Var == null) {
vk7.m("profileComponent");
throw null;
}
goh a2 = goh.a(v84.a(new pt2(rs2Var)));
vk7.f(mm3.a(a2), "featureFlag");
im8.b(q87.a.b);
vk7.f(mm3.a(a2), "featureFlag");
vk7.f(mm3.a(a2), "featureFlag");
}
@Override
public final Toolbar N0() {
Object value = this.G.getValue();
vk7.e(value, "<get-binding>(...)");
return ((zc) value).f1675u;
}
public final void onBackPressed() {
if (((BaseActivity) this).D) {
Object systemService = getSystemService("input_method");
vk7.d(systemService, "null cannot be cast to non-null type android.view.inputmethod.InputMethodManager");
InputMethodManager inputMethodManager = (InputMethodManager) systemService;
View currentFocus = getCurrentFocus();
if (currentFocus == null) {
currentFocus = new View(this);
}
inputMethodManager.hideSoftInputFromWindow(currentFocus.getWindowToken(), 0);
E0();
}
}
public final void onCreate(android.os.Bundle r7) {
throw new UnsupportedOperationException("Method not decompiled: ovo.id.user.profile.presentation.editprofile.SettingsActivity.onCreate(android.os.Bundle):void");
}
public final boolean onOptionsItemSelected(MenuItem menuItem) {
vk7.f(menuItem, "item");
if (menuItem.getItemId() != 16908332) {
return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
}
Object systemService = getSystemService("input_method");
vk7.d(systemService, "null cannot be cast to non-null type android.view.inputmethod.InputMethodManager");
InputMethodManager inputMethodManager = (InputMethodManager) systemService;
View currentFocus = getCurrentFocus();
if (currentFocus == null) {
currentFocus = new View(this);
}
inputMethodManager.hideSoftInputFromWindow(currentFocus.getWindowToken(), 0);
E0();
return true;
}
}