This commit is contained in:
lixiaopeng
2020-09-30 10:43:16 +08:00
parent c4836a536e
commit 172ad46db5
2 changed files with 29 additions and 29 deletions

View File

@@ -92,9 +92,9 @@ class CosStatusController : CosStatusCallback {
) {
// VoiceController.speakVoice("cos上报失败")
Log.d(TAG, "uploadCosFailed mType = $mType")
if (entity?.isCustom && mFromType != UPLOAD_FROM_STRATEGY_ACCIDENT_AUTO) {
sendGetInfoFailedReceiver("100")
}
// if (entity?.isCustom && mFromType != UPLOAD_FROM_STRATEGY_ACCIDENT_AUTO) {
// sendGetInfoFailedReceiver("100")
// }
}
if (!isRetry) {
@@ -227,9 +227,9 @@ class CosStatusController : CosStatusCallback {
}
}
} else {
if (type == INFO_TYPE_VIDEO) {
TipToast.shortTip("分享失败,请检查网络")
}
// if (type == INFO_TYPE_VIDEO) {
// TipToast.shortTip("分享失败,请检查网络")
// }
}
}

View File

@@ -977,29 +977,29 @@ public class TanluListWindow extends RelativeLayout implements IMogoMarkerClickL
*/
@Subscribe(threadMode = ThreadMode.MAIN)
public void onGetInfoFailed(final GetInfoError error) {
mMogoStatusManager.setUploadingStatus(TanluConstants.MODEL_NAME, false);
float bearing = TanluServiceManager.getLocationClient().getLastKnowLocation().getBearing(); //角度
Logger.d(TAG, "onGetInfoFailed bearing = " + bearing + " >>>type = " + error.type);
//失败提示框
if (error.type == null) {
return;
}
mErrorType = error.type;
if (error.type.equals("100")) {
//网络弹框
if (errorDialog != null && errorDialog.isShowing()) {
//TODO
} else {
showNetErrorDialog();
}
} else {
if (customDialog != null && customDialog.isShowing()) {
//TODO
} else {
showNormalDialog(error.type);
}
}
// mMogoStatusManager.setUploadingStatus(TanluConstants.MODEL_NAME, false);
// float bearing = TanluServiceManager.getLocationClient().getLastKnowLocation().getBearing(); //角度
// Logger.d(TAG, "onGetInfoFailed bearing = " + bearing + " >>>type = " + error.type);
// //失败提示框
// if (error.type == null) {
// return;
// }
//
// mErrorType = error.type;
// if (error.type.equals("100")) {
// //网络弹框
// if (errorDialog != null && errorDialog.isShowing()) {
// //TODO
// } else {
// showNetErrorDialog();
// }
// } else {
// if (customDialog != null && customDialog.isShowing()) {
// //TODO
// } else {
// showNormalDialog(error.type);
// }
// }
}
private UploadFailedDialog customDialog;