导航菜单

页面标题

页面副标题

BAM Crawford v6.14.1 - MediaActivity.java 源代码

正在查看: BAM Crawford v6.14.1 应用的 MediaActivity.java JAVA 源代码文件

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


package com.subsplash.thechurchapp.media;

import android.content.res.Configuration;
import android.os.Build;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import androidx.databinding.Observable;
import com.subsplash.thechurchapp.FullscreenFragmentActivity;
import com.subsplash.thechurchapp.TheChurchApp;
import com.subsplash.util.c0;

public class MediaActivity extends FullscreenFragmentActivity {
    private c0 U = c0.Idle;
    private Observable.OnPropertyChangedCallback V = new a();

    class a extends Observable.OnPropertyChangedCallback {
        a() {
        }

        public void onPropertyChanged(Observable observable, int i) {
            MediaActivity.this.B0();
        }
    }

    public void B0() {
        c0 c0Var = this.U;
        c0 J0 = j.q0().J0();
        this.U = J0;
        if (c0Var == c0.Idle || J0 == c0.Preparing) {
            int c = androidx.core.content.a.c(TheChurchApp.n(), j.q0().i0 && j.q0().b() ? pi.k.now_playing_status_bar : pi.k.transparent);
            getWindow().setNavigationBarColor(c);
            getWindow().setStatusBarColor(c);
        }
    }

    @Override
    public void finish() {
        super.finish();
        overridePendingTransition(0, pi.i.showcase_content_exit);
    }

    @Override
    public void onCreate(Bundle bundle) {
        j.q0().x = false;
        super.onCreate(bundle);
        View decorView = getWindow().getDecorView();
        if (Build.VERSION.SDK_INT >= 31) {
            getWindow().setDecorFitsSystemWindows(false);
        } else {
            decorView.setSystemUiVisibility(1792);
        }
        getWindow().addFlags(Integer.MIN_VALUE);
        boolean u0 = j.q0().u0();
        j.q0().y2();
        if (u0 == j.q0().u0()) {
            w0(u0);
        }
        j.q0().addOnPropertyChangedCallback(this.V);
        B0();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        j.q0().removeOnPropertyChangedCallback(this.V);
    }

    public void onPictureInPictureModeChanged(boolean z, Configuration configuration) {
        super/*androidx.activity.ComponentActivity*/.onPictureInPictureModeChanged(z, configuration);
        j.q0().Y1(z);
        if (z) {
            return;
        }
        com.subsplash.util.i.a();
    }

    @Override
    public boolean onPrepareOptionsMenu(Menu menu) {
        return false;
    }

    @Override
    public void onResume() {
        super.onResume();
        j.q0().y2();
    }

    protected void onUserLeaveHint() {
        super/*android.app.Activity*/.onUserLeaveHint();
        if (j.q0().c1()) {
            j.q0().m2(this);
        }
    }

    @Override
    protected int r0() {
        return pi.o.media_activity;
    }
}