fit android 10 about status bar

This commit is contained in:
zhongchao
2022-11-01 15:39:12 +08:00
parent 7adb83e252
commit 7dd4bfd9a8

View File

@@ -88,8 +88,8 @@ public abstract class MvpActivity<V extends IView, P extends Presenter<V>> exten
}
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
protected void onRestart() {
super.onRestart();
BarUtils.hideStatusBarAndSticky(this.getWindow());
}