fixed bug UI-158

This commit is contained in:
lixiaopeng
2020-02-10 16:06:40 +08:00
parent 595e1d7131
commit 5b3bd40ec9

View File

@@ -1280,7 +1280,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
private void speakSuccessVoice(List<Information> informations, String
trafficStatus) {
Log.d(TAG, "informations.size() = " + informations.size());
Log.d(TAG, "speakSuccessVoice informations.size() = " + informations.size());
switch (informations.size()) {
case 0:
Logger.d(TAG, "speakSuccessVoice --0----> " + random.nextInt(3));
@@ -1292,6 +1292,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
trackVoiceSearch(1);
AIAssist.getInstance(getContext()).speakTTSVoice((
String.format(voiceGetInfoMationTts, "1") + trafficStatus), null);
break;
case 2:
trackVoiceSearch(1);
@@ -1301,7 +1302,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
voiceGetInfoMationTts,
"2"
) + trafficStatus), null);
break;
case 3:
Logger.d(TAG, "speakSuccessVoice ---3---> ");
trackVoiceSearch(1);
@@ -1310,6 +1311,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
voiceGetInfoMationTts,
"3"
) + trafficStatus), null);
break;
default:
Logger.d(TAG, "speakSuccessVoice ---default-> ");