|
@@ -1785,10 +1785,17 @@ public class CallingBedActivity extends BaseActivity implements ISerialPortBedOn
|
|
break;
|
|
break;
|
|
case "broadcast_1":
|
|
case "broadcast_1":
|
|
boolean isPlay = false;
|
|
boolean isPlay = false;
|
|
|
|
+
|
|
|
|
+ //增加调试信息
|
|
|
|
+ tvBroadcasting.setVisibility(View.VISIBLE);
|
|
|
|
+ tvBroadcasting.setText("======广播开始播放======");
|
|
handler.removeMessages(RESET_BROADCAST_VIEW);
|
|
handler.removeMessages(RESET_BROADCAST_VIEW);
|
|
|
|
+ handler.sendEmptyMessageDelayed(RESET_BROADCAST_VIEW, 30000);
|
|
|
|
+
|
|
if (isDownloadMp3) {
|
|
if (isDownloadMp3) {
|
|
tvBroadcasting.setVisibility(View.VISIBLE);
|
|
tvBroadcasting.setVisibility(View.VISIBLE);
|
|
tvBroadcasting.setText("======音频文件正在下载中,请等待======");
|
|
tvBroadcasting.setText("======音频文件正在下载中,请等待======");
|
|
|
|
+ handler.removeMessages(RESET_BROADCAST_VIEW);
|
|
handler.sendEmptyMessageDelayed(RESET_BROADCAST_VIEW, 30000);
|
|
handler.sendEmptyMessageDelayed(RESET_BROADCAST_VIEW, 30000);
|
|
return;
|
|
return;
|
|
}
|
|
}
|