导航菜单

页面标题

页面副标题

Hyouka private v5.8.9 - QuickChatActivity.java 源代码

正在查看: Hyouka private v5.8.9 应用的 QuickChatActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.beint.project.screens.sms;

import android.content.Intent;
import android.os.Bundle;
import com.beint.project.AbstractZangiActivity;
import com.beint.project.Engine;
import com.beint.project.core.model.sms.ZangiMessage;
import com.beint.project.core.services.impl.StorageService;
import com.beint.project.core.utils.Log;

public class QuickChatActivity extends AbstractZangiActivity {
    private static String TAG = "com.beint.project.screens.sms.QuickChatActivity";
    public static boolean isQuickChatOpened;
    private ZangiMessageDialog zangiMessageDialog;

    protected Engine getEngine() {
        return Engine.getInstance();
    }

    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        getWindow().addFlags(2654208);
        Log.i(TAG, "!!!!!onCreate");
        setContentView(2131558689);
        this.zangiMessageDialog = new ZangiMessageDialog();
        getSupportFragmentManager().n().r(2131363383, this.zangiMessageDialog, "quick_chat").i();
        isQuickChatOpened = true;
    }

    protected void onDestroy() {
        super.onDestroy();
    }

    protected void onNewIntent(Intent intent) {
        super/*androidx.fragment.app.FragmentActivity*/.onNewIntent(intent);
        Log.i(TAG, "!!!!!onNewIntent");
        ZangiMessage messageById = StorageService.INSTANCE.getMessageById(intent.getStringExtra("com.beint.project.QUICK_SMS_VALUE"));
        if (messageById != null) {
            this.zangiMessageDialog.addNewMessage(messageById);
        }
    }

    protected void onResume() {
        isQuickChatOpened = true;
        super.onResume();
    }

    protected void onStop() {
        isQuickChatOpened = false;
        super/*androidx.appcompat.app.AppCompatActivity*/.onStop();
    }
}