add acc status static broadcast

This commit is contained in:
wangcongtao
2020-06-19 11:16:23 +08:00
parent 89d20022bd
commit 879a01d11b
7 changed files with 59 additions and 18 deletions

View File

@@ -1,2 +1,15 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mogo.module.service" />
package="com.mogo.module.service" >
<application>
<receiver android:name=".receiver.AccStatusReceiver"
android:exported="true"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
<action android:name="com.nwd.action.ACTION_MCU_STATE_CHANGE"/>
</intent-filter>
</receiver>
</application>
</manifest>