opt
This commit is contained in:
@@ -45,11 +45,12 @@ class ADASStatusIntentHandler implements IntentHandler {
|
||||
|
||||
@Override
|
||||
public void handle( Context context, Intent intent ) {
|
||||
if ( intent == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( MogoReceiver.ACTIION_ADAS.equals( intent.getAction() ) ) {
|
||||
if ( intent == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
int status = intent.getIntExtra( MogoReceiver.PARAM_ADAS_STATUS, 0 );
|
||||
MarkerServiceHandler.getMogoStatusManager().setADASUIShow( ServiceConst.TYPE, status == 1 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user