Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
670848654 committed Nov 30, 2022
1 parent 9877021 commit 5cb5167
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
import my.project.sakuraproject.util.Utils;
import my.project.sakuraproject.util.VideoUtils;

public class DescActivity extends BaseActivity<DescContract.View, DescPresenter> implements View.OnSystemUiVisibilityChangeListener, DescContract.View, VideoContract.View,
public class DescActivity extends BaseActivity<DescContract.View, DescPresenter> implements DescContract.View, VideoContract.View,
DownloadVideoContract.View, SniffingUICallback {
@BindView(R.id.anime_img)
ImageView animeImg;
Expand Down Expand Up @@ -1028,10 +1028,10 @@ public void onResume() {
Log.e("height", height + "");
bottomAppBar.setLayoutParams(params);
}*/
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_IMMERSIVE
/*getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_IMMERSIVE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
getWindow().getDecorView().setOnSystemUiVisibilityChangeListener(this);
getWindow().getDecorView().setOnSystemUiVisibilityChangeListener(this);*/
}

protected void setConfigurationChanged() {
Expand All @@ -1056,12 +1056,12 @@ private void setRecyclerViewView() {
}
}

@Override
/*@Override
public void onSystemUiVisibilityChange(int i) {
new Handler().postDelayed(() ->
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_IMMERSIVE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION), 500);
}
}*/
}

0 comments on commit 5cb5167

Please sign in to comment.