bug fix 点击上报没有语音播报,酷我音乐异常死亡后点击播放没反应
This commit is contained in:
@@ -109,11 +109,11 @@ public class KwPresenter extends BaseMediaPresenter<IMusicView> {
|
||||
|
||||
@Override
|
||||
public void play(MediaInfoData mediaInfoData) {
|
||||
// if (kwapi.isKuwoRunning()) {
|
||||
if (kwapi.isKuwoRunning()) {
|
||||
kwapi.setPlayState(PlayState.STATE_PLAY);
|
||||
// } else {
|
||||
// kwapi.randomPlayMusic();
|
||||
// }
|
||||
} else {
|
||||
kwapi.startAPP(true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -139,6 +139,8 @@ public class KwPresenter extends BaseMediaPresenter<IMusicView> {
|
||||
public void next() {
|
||||
if (kwapi.isKuwoRunning()) {
|
||||
kwapi.setPlayState(PlayState.STATE_NEXT);
|
||||
}else{
|
||||
kwapi.startAPP(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user