opt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user