导航菜单

页面标题

页面副标题

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

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

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


package com.beint.project.screens;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import com.beint.project.screens.settings.more.settings.AppearanceFragment;
import com.beint.project.screens.sms.AppModeNotifierActivity;
import com.beint.project.screens.ui.AppearanceScreen;

public final class AppearanceActivity extends AppModeNotifierActivity {
    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        AppearanceScreen appearanceScreen = new AppearanceScreen(this);
        setContentView(appearanceScreen);
        overridePendingTransition(0, 0);
        setSupportActionBar(appearanceScreen.getToolbar());
        androidx.appcompat.app.a supportActionBar = getSupportActionBar();
        if (supportActionBar != null) {
            supportActionBar.q(true);
        }
        androidx.appcompat.app.a supportActionBar2 = getSupportActionBar();
        if (supportActionBar2 != null) {
            supportActionBar2.r(true);
        }
        androidx.appcompat.app.a supportActionBar3 = getSupportActionBar();
        if (supportActionBar3 != null) {
            supportActionBar3.t(androidx.core.content.a.e(this, 2131231255));
        }
        getSupportFragmentManager().n().q(2131362271, new AppearanceFragment()).j();
    }

    public boolean onOptionsItemSelected(MenuItem menuItem) {
        kotlin.jvm.internal.k.f(menuItem, "item");
        if (menuItem.getItemId() == 16908332) {
            finish();
        }
        return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
    }

    public final void reload() {
        finish();
        startActivity(new Intent((Context) this, (Class<?>) AppearanceActivity.class));
    }
}