fixed bug UI-158
This commit is contained in:
@@ -1280,7 +1280,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
|||||||
|
|
||||||
private void speakSuccessVoice(List<Information> informations, String
|
private void speakSuccessVoice(List<Information> informations, String
|
||||||
trafficStatus) {
|
trafficStatus) {
|
||||||
Log.d(TAG, "informations.size() = " + informations.size());
|
Log.d(TAG, "speakSuccessVoice informations.size() = " + informations.size());
|
||||||
switch (informations.size()) {
|
switch (informations.size()) {
|
||||||
case 0:
|
case 0:
|
||||||
Logger.d(TAG, "speakSuccessVoice --0----> " + random.nextInt(3));
|
Logger.d(TAG, "speakSuccessVoice --0----> " + random.nextInt(3));
|
||||||
@@ -1292,6 +1292,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
|||||||
trackVoiceSearch(1);
|
trackVoiceSearch(1);
|
||||||
AIAssist.getInstance(getContext()).speakTTSVoice((
|
AIAssist.getInstance(getContext()).speakTTSVoice((
|
||||||
String.format(voiceGetInfoMationTts, "1") + trafficStatus), null);
|
String.format(voiceGetInfoMationTts, "1") + trafficStatus), null);
|
||||||
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
trackVoiceSearch(1);
|
trackVoiceSearch(1);
|
||||||
@@ -1301,7 +1302,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
|||||||
voiceGetInfoMationTts,
|
voiceGetInfoMationTts,
|
||||||
"2"
|
"2"
|
||||||
) + trafficStatus), null);
|
) + trafficStatus), null);
|
||||||
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
Logger.d(TAG, "speakSuccessVoice ---3---> ");
|
Logger.d(TAG, "speakSuccessVoice ---3---> ");
|
||||||
trackVoiceSearch(1);
|
trackVoiceSearch(1);
|
||||||
@@ -1310,6 +1311,7 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
|||||||
voiceGetInfoMationTts,
|
voiceGetInfoMationTts,
|
||||||
"3"
|
"3"
|
||||||
) + trafficStatus), null);
|
) + trafficStatus), null);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Logger.d(TAG, "speakSuccessVoice ---default-> ");
|
Logger.d(TAG, "speakSuccessVoice ---default-> ");
|
||||||
|
|||||||
Reference in New Issue
Block a user