瀏覽代碼

修复:杀掉APP,播放状态恢复到停止

chendeben 1 年之前
父節點
當前提交
5b2a70417a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      entry/src/main/ets/view/LocalMusic.ets

+ 1 - 1
entry/src/main/ets/view/LocalMusic.ets

@@ -1140,7 +1140,7 @@ export struct LocalMusic {
 
     this.stopPip();
     this.destroyPipController();
-
+    this.syncPlaybackStateOnShow();
     // 清理卡片事件监听器
     if (this.widgetEventSubscriber) {
       try {