cleanup
This commit is contained in:
parent
73143f3236
commit
f3eac9967a
|
@ -553,13 +553,20 @@ public class MediaActivity extends BaseActivity implements OnDownloadInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onPostResume() {
|
||||||
|
super.onPostResume();
|
||||||
|
FullScreencall(false);
|
||||||
|
}
|
||||||
|
|
||||||
public void FullScreencall(Boolean shouldFullscreen) {
|
public void FullScreencall(Boolean shouldFullscreen) {
|
||||||
if(Build.VERSION.SDK_INT < 19) {
|
if(Build.VERSION.SDK_INT < 19) {
|
||||||
View v = this.getWindow().getDecorView();
|
View v = this.getWindow().getDecorView();
|
||||||
if(shouldFullscreen){
|
if(shouldFullscreen){
|
||||||
v.setSystemUiVisibility(View.VISIBLE);
|
|
||||||
}else {
|
|
||||||
v.setSystemUiVisibility(View.GONE);
|
v.setSystemUiVisibility(View.GONE);
|
||||||
|
}else {
|
||||||
|
v.setSystemUiVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
View decorView = getWindow().getDecorView();
|
View decorView = getWindow().getDecorView();
|
||||||
|
|
Loading…
Reference in New Issue