Merge branch 'qa_aiSdk_datalink' of http://gitlab.zhidaoauto.com/ecos/yycp-service/Launcher into qa_aiSdk_datalink
This commit is contained in:
@@ -35,7 +35,9 @@ public abstract class MogoBaseMapView extends FrameLayout implements ILifeCycle
|
||||
|
||||
private void init( Context context ) {
|
||||
addMapView( context );
|
||||
MogoMap.getInstance().init( getContext(), mMapView.getMap() );
|
||||
if (mMapView != null){
|
||||
MogoMap.getInstance().init( getContext(), mMapView.getMap() );
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract void addMapView( Context context );
|
||||
|
||||
@@ -73,7 +73,7 @@ public class IntentManager implements IMogoIntentManager {
|
||||
|
||||
@Override
|
||||
public void invoke( String command, Intent intent ) {
|
||||
List< IMogoIntentListener > listeners = mListeners.get( command );
|
||||
CopyOnWriteArrayList< IMogoIntentListener > listeners = mListeners.get( command );
|
||||
if ( listeners != null && !listeners.isEmpty() ) {
|
||||
Iterator< IMogoIntentListener > iterator = listeners.iterator();
|
||||
while ( iterator.hasNext() ) {
|
||||
|
||||
Reference in New Issue
Block a user