添加独立app保活

This commit is contained in:
tongchenfei
2020-06-12 10:58:55 +08:00
parent 62fa5aea0f
commit 10b1916b8d
7 changed files with 37 additions and 12 deletions

View File

@@ -13,6 +13,19 @@
android:supportsRtl="true"
android:theme="@style/AppTheme.App"
tools:replace="android:label">
<!--保活用-->
<service
android:name="com.zhidao.boot.persistent.lib.PersistentAliveService"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="com.zhidao.boot.persistent.lib.action" />
</intent-filter>
</service>
<activity
android:name="com.zhidao.boot.persistent.lib.PersistentAliveActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
</application>
</manifest>