直播内播放修改
This commit is contained in:
parent
05d4b29991
commit
e0a398a9fd
@ -144,7 +144,7 @@ public class APPEasyFloat implements Application.ActivityLifecycleCallbacks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void initShow(Activity activity) {
|
private void initShow(Activity activity) {
|
||||||
if (FloatingView.get().getContainer() == null) {
|
if (FloatingView.get().getView() == null) {
|
||||||
EnFloatingView enFloatingView = new EnFloatingView(activity, mLayout);
|
EnFloatingView enFloatingView = new EnFloatingView(activity, mLayout);
|
||||||
FloatingView.get().customView(enFloatingView);
|
FloatingView.get().customView(enFloatingView);
|
||||||
if (magnetViewListener != null) {
|
if (magnetViewListener != null) {
|
||||||
|
@ -77,7 +77,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRemove() {
|
public void onRemove() {
|
||||||
mPlayer.stopPlay();
|
// mPlayer.stopPlay();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.show(mContext);
|
.show(mContext);
|
||||||
|
@ -3,12 +3,10 @@ package com.yunbao.live.activity;
|
|||||||
import static com.yunbao.live.views.LivePlayRyViewHolder.Micing;
|
import static com.yunbao.live.views.LivePlayRyViewHolder.Micing;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.PictureInPictureParams;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.media.AudioManager;
|
import android.media.AudioManager;
|
||||||
import android.os.Build;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.CountDownTimer;
|
import android.os.CountDownTimer;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
@ -21,7 +19,6 @@ import android.widget.ImageView;
|
|||||||
|
|
||||||
import androidx.annotation.IdRes;
|
import androidx.annotation.IdRes;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.RequiresApi;
|
|
||||||
import androidx.core.view.ViewCompat;
|
import androidx.core.view.ViewCompat;
|
||||||
import androidx.core.view.WindowInsetsCompat;
|
import androidx.core.view.WindowInsetsCompat;
|
||||||
import androidx.core.view.WindowInsetsControllerCompat;
|
import androidx.core.view.WindowInsetsControllerCompat;
|
||||||
|
Loading…
Reference in New Issue
Block a user