AndroidManifest.xml (7897B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:tools="http://schemas.android.com/tools"> 7 8 <uses-permission android:name="android.permission.CAMERA" /> 9 10 <!-- This is needed because the android.permission.CAMERA above automatically 11 adds a requirements for camera hardware and we don't want add those restrictions --> 12 <uses-feature 13 android:name="android.hardware.camera" 14 android:required="false" /> 15 <uses-feature 16 android:name="android.hardware.camera.autofocus" 17 android:required="false" /> 18 19 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 20 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 21 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 22 <uses-permission android:name="android.permission.INTERNET" /> 23 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" 24 android:maxSdkVersion="32" /> 25 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" 26 android:maxSdkVersion="28" /> 27 <uses-permission android:name="android.permission.BLUETOOTH" /> 28 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 29 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 30 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> 31 <application 32 android:allowBackup="true" 33 android:fullBackupContent="@xml/backup_rules" 34 android:icon="@mipmap/ic_launcher" 35 android:roundIcon="@mipmap/ic_launcher_round" 36 android:label="@string/app_name" 37 android:supportsRtl="true" 38 android:theme="@style/Theme.AppCompat.Light.NoActionBar" 39 android:name=".SampleApplication" 40 android:usesCleartextTraffic="true" 41 tools:ignore="DataExtractionRules,UnusedAttribute" 42 android:dataExtractionRules="@xml/data_extraction_rules"> 43 <activity android:name=".BrowserActivity" 44 android:launchMode="singleTask" 45 android:exported="true" 46 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|locale|layoutDirection|smallestScreenSize|screenLayout"> 47 <intent-filter> 48 <action android:name="android.intent.action.MAIN" /> 49 50 <category android:name="android.intent.category.LAUNCHER" /> 51 </intent-filter> 52 </activity> 53 54 <activity android:name=".ExternalAppBrowserActivity" 55 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|locale|layoutDirection|smallestScreenSize|screenLayout" 56 android:windowSoftInputMode="adjustResize|stateAlwaysHidden" 57 android:exported="false" 58 android:taskAffinity="" 59 android:persistableMode="persistNever" 60 android:autoRemoveFromRecents="false" /> 61 62 <activity 63 android:theme="@style/AddonsActivityTheme" 64 android:name=".addons.AddonsActivity" 65 android:label="@string/mozac_feature_addons_addons" 66 android:parentActivityName=".BrowserActivity" /> 67 68 <activity 69 android:theme="@style/Theme.AppCompat.Light" 70 android:name=".addons.AddonDetailsActivity" 71 android:label="@string/mozac_feature_addons_addons" /> 72 73 <activity android:name=".addons.InstalledAddonDetailsActivity" 74 android:label="@string/mozac_feature_addons_addons" 75 android:parentActivityName=".addons.AddonsActivity" 76 android:theme="@style/Theme.AppCompat.Light" /> 77 78 <activity 79 android:name=".addons.PermissionsDetailsActivity" 80 android:label="@string/mozac_feature_addons_addons" 81 android:theme="@style/Theme.AppCompat.Light" /> 82 83 <activity 84 android:name=".addons.AddonSettingsActivity" 85 android:label="@string/mozac_feature_addons_addons" 86 android:theme="@style/Theme.AppCompat.Light" /> 87 88 <activity 89 android:name=".addons.NotYetSupportedAddonActivity" 90 android:label="@string/mozac_feature_addons_addons" 91 android:theme="@style/Theme.AppCompat.Light" /> 92 93 <activity 94 android:name=".addons.WebExtensionActionPopupActivity" 95 android:label="@string/mozac_feature_addons_addons" 96 android:theme="@style/Theme.AppCompat.Light" /> 97 98 <activity 99 android:name=".IntentReceiverActivity" 100 android:relinquishTaskIdentity="true" 101 android:taskAffinity="" 102 android:exported="true" 103 android:excludeFromRecents="true" > 104 105 <intent-filter> 106 <action android:name="android.intent.action.VIEW" /> 107 <category android:name="android.intent.category.DEFAULT" /> 108 <category android:name="android.intent.category.BROWSABLE" /> 109 <category android:name="mozilla.components.pwa.category.SHORTCUT" /> 110 111 <data android:scheme="http" /> 112 <data android:scheme="https" /> 113 </intent-filter> 114 115 <intent-filter> 116 <action android:name="android.intent.action.SEND" /> 117 <category android:name="android.intent.category.DEFAULT" /> 118 <data android:mimeType="text/plain" /> 119 </intent-filter> 120 121 <intent-filter> 122 <action android:name="android.nfc.action.NDEF_DISCOVERED"/> 123 <category android:name="android.intent.category.DEFAULT" /> 124 <data android:scheme="http" /> 125 <data android:scheme="https" /> 126 </intent-filter> 127 128 <intent-filter> 129 <action android:name="mozilla.components.feature.pwa.VIEW_PWA" /> 130 <category android:name="android.intent.category.DEFAULT" /> 131 <data android:scheme="https" /> 132 </intent-filter> 133 </activity> 134 135 <activity android:name=".autofill.AutofillUnlockActivity" 136 android:exported="false" 137 android:theme="@android:style/Theme.Translucent.NoTitleBar" /> 138 139 <activity android:name=".autofill.AutofillConfirmActivity" 140 android:exported="false" 141 android:theme="@style/Theme.AppCompat.Translucent" /> 142 143 <activity android:name=".autofill.AutofillSearchActivity" 144 android:exported="false" /> 145 146 <service android:name=".autofill.AutofillService" 147 android:label="@string/app_name" 148 android:exported="true" 149 android:permission="android.permission.BIND_AUTOFILL_SERVICE"> 150 <intent-filter> 151 <action android:name="android.service.autofill.AutofillService"/> 152 </intent-filter> 153 <meta-data 154 android:name="android.autofill" 155 android:resource="@xml/service_configuration" /> 156 </service> 157 158 <service 159 android:name=".customtabs.CustomTabsService" 160 android:exported="true" 161 tools:ignore="ExportedService"> 162 <intent-filter> 163 <action android:name="android.support.customtabs.action.CustomTabsService" /> 164 </intent-filter> 165 </service> 166 167 <service 168 android:name=".downloads.DownloadService" 169 android:foregroundServiceType="dataSync" /> 170 171 <service android:name=".media.MediaSessionService" 172 android:foregroundServiceType="mediaPlayback" 173 android:exported="false" /> 174 175 </application> 176 177 </manifest>