pull/589/head
FongMi 10 months ago
parent b52ca6fb5a
commit 702050b7f8
  1. 8
      app/src/main/java/com/fongmi/android/tv/bean/Danmaku.java
  2. 2
      app/src/mobile/java/com/fongmi/android/tv/ui/activity/VideoActivity.java

@ -62,12 +62,8 @@ public class Danmaku {
}
public Data(Matcher matcher) {
this(matcher.group(1), matcher.group(2));
}
public Data(String param, String text) {
this.param = param;
this.text = text;
this.param = matcher.group(1);
this.text = matcher.group(2);
}
public String getParam() {

@ -868,7 +868,6 @@ public class VideoActivity extends BaseActivity implements Clock.Callback, Custo
setRequestedOrientation(mPlayers.isPortrait() ? ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT : ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
mBinding.control.full.setVisibility(View.GONE);
setRotate(mPlayers.isPortrait(), true);
mDanmakuContext.setScaleTextSize(1.0f);
Util.hideSystemUI(this);
App.post(mR3, 2000);
hideControl();
@ -880,7 +879,6 @@ public class VideoActivity extends BaseActivity implements Clock.Callback, Custo
App.post(() -> mBinding.episode.scrollToPosition(mEpisodeAdapter.getPosition()), 50);
mBinding.control.full.setVisibility(View.VISIBLE);
mBinding.video.setLayoutParams(mFrameParams);
mDanmakuContext.setScaleTextSize(0.8f);
setRotate(false, false);
App.post(mR3, 2000);
hideControl();

Loading…
Cancel
Save