Commit 36456b89ee77a69c54df939ade6ca8e239b0aa2b
1 parent
3e9adb61
ugc页面隐藏statusbar
Showing
1 changed file
with
1 additions
and
0 deletions
app/src/main/java/com/cnlive/gundam/video/activity/PlayerActivity.java
| @@ -66,6 +66,7 @@ public class PlayerActivity extends AppCompatActivity { | @@ -66,6 +66,7 @@ public class PlayerActivity extends AppCompatActivity { | ||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | if (fragment instanceof PlayerUgcLiveFragment || fragment instanceof PlayerUgcVodFragment) { | 68 | if (fragment instanceof PlayerUgcLiveFragment || fragment instanceof PlayerUgcVodFragment) { |
| 69 | + PlayerUtils.setStatusBarVisibility(this, false); | ||
| 69 | screenDirect = program.getIsHorizontalScreen(); | 70 | screenDirect = program.getIsHorizontalScreen(); |
| 70 | if (screenDirect == 0) { | 71 | if (screenDirect == 0) { |
| 71 | setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); | 72 | setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); |