This commit is contained in:
wangcongtao
2020-12-01 11:22:27 +08:00
parent a4ee99ffef
commit b2c2c0ba05

View File

@@ -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 ) {