|
@@ -18,6 +18,10 @@
|
|
|
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
|
|
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
|
|
|
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
|
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
|
|
|
|
|
|
|
|
|
+ <uses-permission
|
|
|
|
|
+ android:name="android.permission.RECEIVE_BOOT_COMPLETED"
|
|
|
|
|
+ tools:node="remove" />
|
|
|
|
|
+
|
|
|
<queries>
|
|
<queries>
|
|
|
<package android:name="com.tencent.mobileqq" />
|
|
<package android:name="com.tencent.mobileqq" />
|
|
|
<package android:name="com.tencent.mm" />
|
|
<package android:name="com.tencent.mm" />
|
|
@@ -31,12 +35,12 @@
|
|
|
<application
|
|
<application
|
|
|
android:name=".MyApplication"
|
|
android:name=".MyApplication"
|
|
|
android:allowBackup="false"
|
|
android:allowBackup="false"
|
|
|
- tools:replace="android:allowBackup, android:icon, android:theme"
|
|
|
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:enableOnBackInvokedCallback="true"
|
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:icon="@mipmap/ic_launcher"
|
|
|
android:label="@string/app_name"
|
|
android:label="@string/app_name"
|
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
|
- android:theme="@style/Theme.ElecAsst">
|
|
|
|
|
|
|
+ android:theme="@style/Theme.ElecAsst"
|
|
|
|
|
+ tools:replace="android:allowBackup, android:icon, android:theme">
|
|
|
|
|
|
|
|
<activity
|
|
<activity
|
|
|
android:name=".activity.SplashActivity"
|
|
android:name=".activity.SplashActivity"
|
|
@@ -76,6 +80,16 @@
|
|
|
android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
|
|
android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
|
|
|
android:exported="false"
|
|
android:exported="false"
|
|
|
android:foregroundServiceType="microphone" />
|
|
android:foregroundServiceType="microphone" />
|
|
|
|
|
+
|
|
|
|
|
+ <receiver
|
|
|
|
|
+ android:name="com.pravera.flutter_foreground_task.service.RebootReceiver"
|
|
|
|
|
+ android:enabled="true"
|
|
|
|
|
+ android:exported="true">
|
|
|
|
|
+
|
|
|
|
|
+ <intent-filter>
|
|
|
|
|
+ <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
|
|
|
+ </intent-filter>
|
|
|
|
|
+ </receiver>
|
|
|
</application>
|
|
</application>
|
|
|
<!-- Required to query activities that can process text, see:
|
|
<!-- Required to query activities that can process text, see:
|
|
|
https://developer.android.com/training/package-visibility and
|
|
https://developer.android.com/training/package-visibility and
|