opt
This commit is contained in:
@@ -65,6 +65,11 @@ class AccStatusIntentHandler implements IntentHandler {
|
||||
if ( state != ACC_OFF && state != ACC_ON && state != ACC_OFF_DELAY ) {
|
||||
return;
|
||||
}
|
||||
if ( state == ACC_ON || state == ACC_OFF_DELAY ) {
|
||||
Intent newIntent = new Intent( "com.freedom.ser.ACTION" );
|
||||
newIntent.putExtra( "acc", true );
|
||||
context.sendBroadcast( newIntent );
|
||||
}
|
||||
boolean accOn = state == ACC_ON;
|
||||
if ( MarkerServiceHandler.getMogoStatusManager().isAccOn() == accOn ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user