.. | .. |
---|
662 | 662 | android:name=".BootonAppReceiver" |
---|
663 | 663 | android:enabled="true" |
---|
664 | 664 | android:exported="true"> |
---|
| 665 | + <!-- 单独处理 BOOT_COMPLETED --> |
---|
665 | 666 | <intent-filter> |
---|
666 | | - <action android:name="android.intent.action.BOOT_COMPLETED"></action> |
---|
| 667 | + <action android:name="android.intent.action.BOOT_COMPLETED" /> |
---|
| 668 | + </intent-filter> |
---|
| 669 | + |
---|
| 670 | + <!-- 单独处理 MEDIA_MOUNTED --> |
---|
| 671 | + <intent-filter> |
---|
| 672 | + <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
---|
| 673 | + <data android:scheme="file" /> |
---|
667 | 674 | </intent-filter> |
---|
668 | 675 | </receiver> |
---|
669 | 676 | |
---|