Explorar el Código

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

chendeben hace 1 año
padre
commit
5b2a70417a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {