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