opt2
This commit is contained in:
@@ -68,7 +68,9 @@ class AccStatusIntentHandler implements IntentHandler {
|
||||
if ( state == ACC_ON || state == ACC_OFF_DELAY ) {
|
||||
Intent newIntent = new Intent( "com.freedom.ser.ACTION" );
|
||||
newIntent.putExtra( "acc", true );
|
||||
newIntent.addFlags( Intent.FLAG_INCLUDE_STOPPED_PACKAGES );
|
||||
context.sendBroadcast( newIntent );
|
||||
Logger.d( TAG, "发送广播:com.freedom.ser.ACTION" );
|
||||
}
|
||||
boolean accOn = state == ACC_ON;
|
||||
if ( MarkerServiceHandler.getMogoStatusManager().isAccOn() == accOn ) {
|
||||
|
||||
Reference in New Issue
Block a user