正在查看: Hyouka private v5.8.9 应用的 ContactInfoActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Hyouka private v5.8.9 应用的 ContactInfoActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.beint.project.screens;
import android.content.Intent;
import android.os.Bundle;
import android.widget.FrameLayout;
import com.beint.project.core.model.sms.Conversation;
import com.beint.project.screens.contacts.ContactInfoFragmentView;
import com.beint.project.screens.sms.AppModeNotifierActivity;
import com.beint.project.utils.ProjectUtils;
import java.lang.ref.WeakReference;
public final class ContactInfoActivity extends AppModeNotifierActivity {
public static final Companion Companion = new Companion(null);
private static WeakReference<ContactInfoActivity> sInstance;
public ContactInfoFragmentView fragment;
private FrameLayout frameLayout;
private boolean withoutAnimator;
public static final class Companion {
private Companion() {
}
public Companion(kotlin.jvm.internal.g gVar) {
this();
}
public final WeakReference<ContactInfoActivity> getSInstance() {
return ContactInfoActivity.sInstance;
}
public final void setSInstance(WeakReference<ContactInfoActivity> weakReference) {
ContactInfoActivity.sInstance = weakReference;
}
}
private final void openContactInfoFragment() {
androidx.fragment.app.r n = getSupportFragmentManager().n();
kotlin.jvm.internal.k.e(n, "supportFragmentManager.beginTransaction()");
getSupportFragmentManager().f0();
setFragment(new ContactInfoFragmentView());
n.r(2131362238, getFragment(), ContactInfoFragmentView.class.getCanonicalName());
n.j();
}
public final ContactInfoFragmentView getFragment() {
ContactInfoFragmentView contactInfoFragmentView = this.fragment;
if (contactInfoFragmentView != null) {
return contactInfoFragmentView;
}
kotlin.jvm.internal.k.q("fragment");
return null;
}
public final boolean getWithoutAnimator() {
return this.withoutAnimator;
}
protected void onActivityResult(int i, int i7, Intent intent) {
super/*androidx.fragment.app.FragmentActivity*/.onActivityResult(i, i7, intent);
if (i7 == -1 && i == 2445) {
getFragment().onActivityResult(i, i7, intent);
}
}
public void onBackPressed() {
if (getFragment().getCurrentConversation() != null) {
getFragment().closeFragmentWithAnimator();
} else {
super.onBackPressed();
finish();
}
}
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
ProjectUtils.setPortraitOrientationToActivity(this);
sInstance = new WeakReference<>(this);
ConversationManager conversationManager = ConversationManager.INSTANCE;
if (conversationManager.getCurrentConversation() != null) {
overridePendingTransition(0, 0);
}
FrameLayout frameLayout = new FrameLayout(this);
this.frameLayout = frameLayout;
setContentView(frameLayout);
FrameLayout frameLayout2 = this.frameLayout;
if (frameLayout2 != null) {
frameLayout2.setId(2131362238);
}
getWindow().getDecorView().setSystemUiVisibility(1024);
openContactInfoFragment();
if (conversationManager.getActivity() != null) {
conversationManager.setContactInfoActivity(new WeakReference<>(this));
}
}
@Override
protected void onPause() {
super.onPause();
if (getFragment().getCurrentConversation() != null || this.withoutAnimator) {
overridePendingTransition(0, 2130772002);
}
}
public final void setConversation(Conversation conversation) {
getFragment().setCurrentConversation(conversation);
}
public final void setFragment(ContactInfoFragmentView contactInfoFragmentView) {
kotlin.jvm.internal.k.f(contactInfoFragmentView, "<set-?>");
this.fragment = contactInfoFragmentView;
}
public final void setWithoutAnimator(boolean z) {
this.withoutAnimator = z;
}
}