Commit 12b44f52 by amateur

1

1 parent bc17e3ec
......@@ -2,6 +2,7 @@ package com.whaty.nafmii.activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.WindowManager;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
......@@ -28,6 +29,7 @@ public class BaseActivity extends AppCompatActivity implements IActivityEvent {
public void setContentView(int layoutResID) {
super.setContentView(layoutResID);
this.initStatusBar();
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
private void initStatusBar() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!