AndroidManifest.xml (2499B)
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public 2 - License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 - You can obtain one at http://mozilla.org/MPL/2.0/. --> 4 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 5 6 <uses-permission android:name="android.permission.INTERNET" /> 7 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 8 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 9 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> 10 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 11 12 <application android:supportsRtl="true"> 13 <activity android:name=".prompt.CrashReporterActivity" 14 android:process=":mozilla.components.lib.crash.CrashReporter" 15 android:exported="false" 16 android:excludeFromRecents="true" 17 android:theme="@style/Theme.Mozac.CrashReporter" /> 18 19 <service android:name=".handler.CrashHandlerService" 20 android:process=":mozilla.components.lib.crash.CrashHandler" 21 android:exported="false" 22 android:foregroundServiceType="specialUse"> 23 <property 24 android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" 25 android:value="This foreground service allows users to report crashes" /> 26 </service> 27 28 <!-- Separate process to avoid starting the application when starting this service --> 29 <service android:name=".service.SendCrashReportService" 30 android:process=":crashReportingProcess" 31 android:exported="false" 32 android:foregroundServiceType="specialUse"> 33 <property 34 android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" 35 android:value="This foreground service allows users to report crashes" /> 36 </service> 37 38 <!-- Separate process to avoid starting the application when starting this service --> 39 <service android:name=".service.SendCrashTelemetryService" 40 android:process=":crashReportingProcess" 41 android:exported="false" 42 android:foregroundServiceType="specialUse"> 43 <property 44 android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" 45 android:value="This foreground service allows users to report crashes" /> 46 </service> 47 </application> 48 49 </manifest>