package com.webh5app.app;

import X6FRs_4.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0;
import android.os.Build;
import android.view.View;
import android.view.Window;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
/* loaded from: classes.dex */
public class BaseActivity extends AppCompatActivity {
    public void IFxWkV_5() {
        if (Build.VERSION.SDK_INT < 19) {
            getWindow().getDecorView().setSystemUiVisibility(0);
            return;
        }
        View decorView = getWindow().getDecorView();
        decorView.setSystemUiVisibility(decorView.getSystemUiVisibility() & (-3) & (-4097) & (-5));
    }

    public void Mqv2r_3() {
        if (Build.VERSION.SDK_INT < 19) {
            getWindow().getDecorView().setSystemUiVisibility(8);
            return;
        }
        View decorView = getWindow().getDecorView();
        decorView.setSystemUiVisibility(decorView.getSystemUiVisibility() | 2 | RecyclerView.WGk6X_27.FLAG_APPEARED_IN_PRE_LAYOUT);
    }

    public void PGPF6hQ_2() {
    }

    public void X6FRs_4() {
        if (Build.VERSION.SDK_INT < 19) {
            return;
        }
        Window window = getWindow();
        if (Build.VERSION.SDK_INT >= 21) {
            window.clearFlags(67108864);
            window.addFlags(KQgRr5e_0.INVALID_ID);
            window.getDecorView().setSystemUiVisibility(window.getDecorView().getSystemUiVisibility() | RecyclerView.WGk6X_27.FLAG_TMP_DETACHED | RecyclerView.WGk6X_27.FLAG_ADAPTER_FULLUPDATE);
            window.setStatusBarColor(0);
            return;
        }
        window.addFlags(67108864);
    }
}
