callchat replace
This commit is contained in:
@@ -8,7 +8,6 @@ import com.mogo.map.marker.IMogoMarker;
|
||||
import com.mogo.map.marker.IMogoMarkerManager;
|
||||
import com.mogo.map.navi.IMogoNavi;
|
||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
import com.mogo.module.carchattingprovider.ICarsChattingProvider;
|
||||
import com.mogo.module.common.MogoApisHandler;
|
||||
import com.mogo.module.common.entity.MarkerResponse;
|
||||
import com.mogo.module.common.entity.MarkerShowEntity;
|
||||
@@ -29,6 +28,7 @@ import com.mogo.service.module.IMogoRegisterCenter;
|
||||
import com.mogo.service.statusmanager.IMogoStatusManager;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
import com.zhidao.carchattingprovider.CallChattingProviderConstant;
|
||||
import com.zhidao.carchattingprovider.ICarsChattingProvider;
|
||||
|
||||
/**
|
||||
* author : donghongyu
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
package com.mogo.module.service.marker;
|
||||
|
||||
import com.mogo.module.carchattingprovider.ICallProviderResponse;
|
||||
|
||||
import com.zhidao.carchattingprovider.ICallProviderResponse;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/9/28
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
abstract class CallProviderResponseImpl implements ICallProviderResponse {
|
||||
public abstract class CallProviderResponseImpl implements ICallProviderResponse {
|
||||
|
||||
@Override
|
||||
public void addFriend( boolean b ) {
|
||||
@@ -24,11 +25,6 @@ abstract class CallProviderResponseImpl implements ICallProviderResponse {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void callStatus( int i ) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void callWindowStatus( boolean b ) {
|
||||
|
||||
|
||||
@@ -194,19 +194,13 @@ public class UserDataMarkerInfoWindowAdapter implements IMogoInfoWindowAdapter {
|
||||
params.put( CallChattingProviderConstant.CCPROVIDER_LON, location.getLon() + "" );
|
||||
}
|
||||
Logger.d( TAG, "call parameters: %s", params );
|
||||
if ( MarkerServiceHandler.getApis().getStatusManagerApi().isV2XShow() ) {
|
||||
MarkerServiceHandler.getCarChatting().callShowWindow( params );
|
||||
} else {
|
||||
MarkerServiceHandler.getCarChatting().call( params );
|
||||
}
|
||||
MarkerServiceHandler.getCarChatting().call( params );
|
||||
}
|
||||
|
||||
protected void loadImageHeader( final MarkerShowEntity markerShowEntity ) {
|
||||
|
||||
if ( Looper.myLooper() != Looper.getMainLooper() ) {
|
||||
UiThreadHandler.post( () -> {
|
||||
runOnUiThread( markerShowEntity );
|
||||
} );
|
||||
UiThreadHandler.post( () -> runOnUiThread( markerShowEntity ));
|
||||
} else {
|
||||
runOnUiThread( markerShowEntity );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user