59 lines
2.7 KiB
XML
59 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
- You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="mozilla.components.lib.crash" >
|
|
|
|
<uses-sdk android:minSdkVersion="21" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
<application android:supportsRtl="true" >
|
|
<activity
|
|
android:name="mozilla.components.lib.crash.prompt.CrashReporterActivity"
|
|
android:excludeFromRecents="true"
|
|
android:exported="false"
|
|
android:process=":mozilla.components.lib.crash.CrashReporter"
|
|
android:theme="@style/Theme.Mozac.CrashReporter" />
|
|
|
|
<service
|
|
android:name="mozilla.components.lib.crash.handler.CrashHandlerService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="specialUse"
|
|
android:process=":mozilla.components.lib.crash.CrashHandler" >
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="This foreground service allows users to report crashes" />
|
|
</service>
|
|
|
|
<!-- Separate process to avoid starting the application when starting this service -->
|
|
<service
|
|
android:name="mozilla.components.lib.crash.service.SendCrashReportService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="specialUse"
|
|
android:process=":crashReportingProcess" >
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="This foreground service allows users to report crashes" />
|
|
</service>
|
|
|
|
<!-- Separate process to avoid starting the application when starting this service -->
|
|
<service
|
|
android:name="mozilla.components.lib.crash.service.SendCrashTelemetryService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="specialUse"
|
|
android:process=":crashReportingProcess" >
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="This foreground service allows users to report crashes" />
|
|
</service>
|
|
</application>
|
|
|
|
</manifest> |