[taxi 乘客屏] 自动驾驶失败等待时间调整为20s

This commit is contained in:
wangmingjun
2022-07-12 15:10:47 +08:00
parent b70b725502
commit ca6148cb36

View File

@@ -36,7 +36,7 @@ public class TaxiPassengerStartAutopilotView extends RelativeLayout implements V
private ITPClickStartAutopilotCallback mClickCallback;
public boolean isStarting = false;
private AnimationDrawable mAnimationBtnDrawable;
private static final long TIMER_START_AUTOPILOT_INTERVAL = 10 * 1000L;
private static final long TIMER_START_AUTOPILOT_INTERVAL = 20 * 1000L;
private Context mContext;
private View view;
private FrameSurfaceView svCarStartingFrame;
@@ -221,7 +221,7 @@ public class TaxiPassengerStartAutopilotView extends RelativeLayout implements V
private void startingAutopilotCountDown() {
UiThreadHandler.postDelayed(new Runnable() {
@Override
public void run() { //未启动成功10s后做处理
public void run() { //未启动成功20s后做处理
if (isStarting){ //判断动画是否在进行
ToastUtils.showLong(R.string.taxi_p_start_autopilot_fail_10s_tip);
// startOrStopLoadingAnim(false);