移除调试代码
This commit is contained in:
parent
420573736d
commit
50d01ccd92
@ -1142,7 +1142,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
public void onVideoSizeChanged(VideoSize videoSize) {
|
public void onVideoSizeChanged(VideoSize videoSize) {
|
||||||
Player.Listener.super.onVideoSizeChanged(videoSize);
|
Player.Listener.super.onVideoSizeChanged(videoSize);
|
||||||
Log.i(TAG, "onVideoSizeChanged: width = " + videoSize.width + " height = " + videoSize.height);
|
Log.i(TAG, "onVideoSizeChanged: width = " + videoSize.width + " height = " + videoSize.height);
|
||||||
ToastUtil.show("分辨率: 宽 = " + videoSize.width + " 高 = " + videoSize.height);
|
//ToastUtil.show("分辨率: 宽 = " + videoSize.width + " 高 = " + videoSize.height);
|
||||||
if (videoSize.height > videoSize.width) {
|
if (videoSize.height > videoSize.width) {
|
||||||
videoLandscape = VIDEO_VERTICAL;
|
videoLandscape = VIDEO_VERTICAL;
|
||||||
} else {
|
} else {
|
||||||
|
@ -271,7 +271,6 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
.setmLiveType(mLiveType)
|
.setmLiveType(mLiveType)
|
||||||
.setmLiveTypeVal(mLiveTypeVal)));
|
.setmLiveTypeVal(mLiveTypeVal)));
|
||||||
loading.setVisibility(View.VISIBLE);
|
loading.setVisibility(View.VISIBLE);
|
||||||
loading.setAlpha(0.6f);
|
|
||||||
ImgLoader.displayBlurLive(mContext, mLiveBean.getAvatar(), ivBg);
|
ImgLoader.displayBlurLive(mContext, mLiveBean.getAvatar(), ivBg);
|
||||||
AnimationDrawable frameAnimation = (AnimationDrawable) ivLoading.getBackground();
|
AnimationDrawable frameAnimation = (AnimationDrawable) ivLoading.getBackground();
|
||||||
frameAnimation.start();
|
frameAnimation.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user