From 0dedeaf301f285bc9c6a523134bd99c95e0b569e Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sat, 28 May 2022 17:27:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=B8=93=E8=BE=91=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=92=AD=E6=94=BE=E4=B8=BB=E7=95=8C=E9=9D=A2=E6=97=A0?= =?UTF-8?q?=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yutou/nas_music_player/views/AlbumsActivity.java | 2 +- .../java/com/yutou/nas_music_player/views/MainActivity.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java b/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java index 747d6cd..3b3c557 100644 --- a/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java +++ b/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java @@ -156,7 +156,7 @@ public class AlbumsActivity extends AppCompatActivity { breakApp.setOnClickListener(v -> finish()); playAll.setOnClickListener(v -> { MusicContainer.getInstance().setPlayList(new ArrayList<>(adapter.getMusicDatas())); - MusicContainer.getInstance().playNext(); + browserHelper.play(MusicContainer.getInstance().getPlayList().get(0)); }); } diff --git a/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java b/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java index e51d371..0e1d8b3 100644 --- a/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java +++ b/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java @@ -409,13 +409,11 @@ public class MainActivity extends AppCompatActivity { @Override public void onSessionDestroyed() { super.onSessionDestroyed(); - System.out.println("连接被销毁"); } @Override public void onQueueChanged(List queue) { super.onQueueChanged(queue); - System.out.println("不知道是啥变换了"); } }