[司机屏删除多余的tts]
This commit is contained in:
yangyakun
2023-07-27 16:58:40 +08:00
parent ee5ea7616a
commit b45a912de9

View File

@@ -405,9 +405,9 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment
}
mDistanceAndTime2.setText(Html.fromHtml(strHtml2));
if (isFirstStartAutopilotDone){
VoiceNotice.showNotice(String.format(getResources()
.getString(R.string.module_och_taxi_order_server_start_auto_tip),
dis,disUnit,min));
// VoiceNotice.showNotice(String.format(getResources()
// .getString(R.string.module_och_taxi_order_server_start_auto_tip),
// dis,disUnit,min));
isFirstStartAutopilotDone = false;
}
}
@@ -418,7 +418,7 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment
private void speekVoice200mTipsOnce() {
mTtsLessThan200Tip = 1;
VoiceNotice.showNotice(getResources().getString(R.string.module_och_taxi_order_arrive_end_200m_tip));
//VoiceNotice.showNotice(getResources().getString(R.string.module_och_taxi_order_arrive_end_200m_tip));
}
public void onCurrentOrderRouteInfoGot(OrderQueryRouteInfoRespBean.Result routeInfo) {// 单位 米, 秒
@@ -533,7 +533,7 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment
isFirstStartAutopilotDone = true;
mOrderCancel.setVisibility(View.VISIBLE);
if (TaxiOrderStatusEnum.UserArriveAtStart.getCode() == ochStatus.getCode()){
VoiceNotice.showNotice(mActivity.getString(R.string.module_och_taxi_order_status_ph_text_check_success));
//VoiceNotice.showNotice(mActivity.getString(R.string.module_och_taxi_order_status_ph_text_check_success));
}else {
VoiceNotice.showNotice(mActivity.getString(R.string.module_och_taxi_order_status_ph_text));
}
@@ -556,7 +556,7 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment
case ArriveAtEnd:
mTtsLessThan200Tip = 0;
mOrderCancel.setVisibility(View.GONE);
VoiceNotice.showNotice(mActivity.getString(R.string.module_och_taxi_order_auto_arrive_end_tip));
//VoiceNotice.showNotice(mActivity.getString(R.string.module_och_taxi_order_auto_arrive_end_tip));
showOrHideNavi(false);
setOrRemoveMapMaker(false, TaxiConst.TAXI_START_MAP_MAKER,order.startSitePoint,R.raw.star_marker);
setOrRemoveMapMaker(false, TaxiConst.TAXI_END_MAP_MAKER,order.endSitePoint,R.raw.end_marker);