Skip to content

Commit

Permalink
修复播放webdav下的歌曲可能anr+1
Browse files Browse the repository at this point in the history
  • Loading branch information
rRemix committed Aug 11, 2024
1 parent ce005ab commit 88e4079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/remix/myplayer/service/MusicService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1550,9 +1550,9 @@ class MusicService : BaseService(), Playback, MusicEventCallback,
return
}
// 不能在这里设置playing,因为远程的歌曲可能需要缓冲,并且这里需要提前刷新下界面
if (playQueue.song.isRemote()) {
uiHandler.sendEmptyMessage(UPDATE_META_DATA)
}
// if (playQueue.song.isRemote()) {
// uiHandler.sendEmptyMessage(UPDATE_META_DATA)
// }

prepare(playQueue.song)
}
Expand Down

0 comments on commit 88e4079

Please sign in to comment.