Commit 7e53803d by 王佳洋

bug修复

parent b4d45d29
...@@ -648,9 +648,8 @@ public class NewH5_WVClickAbstractListener implements NewH5_WebViewClientClickLi ...@@ -648,9 +648,8 @@ public class NewH5_WVClickAbstractListener implements NewH5_WebViewClientClickLi
public void closeFloatView() { public void closeFloatView() {
mActivity.runOnUiThread(() -> { mActivity.runOnUiThread(() -> {
try { try {
if (PlayerFloatHelper.Companion.isShow(mActivity)) { if (PlayerFloatHelper.Companion.isShow()) {
PlayerFloatHelper.Companion.removeView(mActivity); PlayerFloatHelper.Companion.removeResetView();
AudioPlayer.Companion.get().stopPlayer();
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment