Files
MoGoEagleEye/modules/mogo-module-apps/src/main/AndroidManifest.xml
wangcongtao 5752829cf3 dev
2019-12-30 16:35:51 +08:00

27 lines
1.7 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mogo.module.apps">
<application>
<receiver
android:name=".receiver.AppInstallReceiver"
android:label="@string/app_name">
<intent-filter>
<!-- 一个新应用包已经安装在设备上,数据包括包名(最新安装的包程序不能接收到这个广播)-->
<action android:name="android.intent.action.PACKAGE_ADDED" />
<!-- 一个新版本的应用安装到设备,替换之前已经存在的版本-->
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<!-- 一个已存在的应用程序包已经从设备上移除,包括包名(正在被安装的包程序不能接收到这个广播)-->
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<!-- 一个已存在的应用程序包已经改变,包括包名-->
<action android:name="android.intent.action.ACTION_PACKAGE_CHANGED" />
<!-- 用户重新开始一个包,包的所有进程将被杀死,所有与其联系的运行时间状态应该被移除,包括包名(重新开始包程序不能接收到这个广播-->
<action android:name="android.intent.action.ACTION_PACKAGE_RESTARTED" />
<!-- 用户已经清楚一个包的数据,包括包名(清除包程序不能接收到这个广播)-->
<action android:name="android.intent.action.ACTION_PACKAGE_DATA_CLEARED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
</application>
</manifest>