AndroidManifest.xml (4952B)
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 6 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:tools="http://schemas.android.com/tools"> 8 9 <!--#ifdef MOZ_ANDROID_NETWORK_STATE--> 10 <!-- 11 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 12 --> 13 <!--#endif--> 14 <uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" 15 tools:ignore="HighSamplingRate" /> 16 <uses-permission android:name="android.permission.INTERNET"/> 17 <uses-permission android:name="android.permission.WAKE_LOCK"/> 18 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 19 20 <!--#ifdef MOZ_ANDROID_LOCATION--> 21 <!-- 22 <uses-feature 23 android:name="android.hardware.location" 24 android:required="false"/> 25 <uses-feature 26 android:name="android.hardware.location.gps" 27 android:required="false"/> 28 --> 29 <!--#endif--> 30 <uses-feature 31 android:name="android.hardware.touchscreen" 32 android:required="false"/> 33 <!--#ifdef MOZ_WEBRTC--> 34 <!-- TODO preprocess AndroidManifest.xml so that we can 35 conditionally include WebRTC permissions based on MOZ_WEBRTC. --> 36 <!-- 37 <uses-feature 38 android:name="android.hardware.camera" 39 android:required="false"/> 40 <uses-feature 41 android:name="android.hardware.camera.autofocus" 42 android:required="false"/> 43 44 <uses-feature 45 android:name="android.hardware.audio.low_latency" 46 android:required="false"/> 47 <uses-feature 48 android:name="android.hardware.microphone" 49 android:required="false"/> 50 <uses-feature 51 android:name="android.hardware.camera.any" 52 android:required="false"/> 53 --> 54 <!--#endif--> 55 56 <!-- GeckoView requires OpenGL ES 2.0 --> 57 <uses-feature 58 android:glEsVersion="0x00020000" 59 android:required="true"/> 60 61 <!-- Needed for PackageManager.queryIntentActivities(Intent.ACTION_VIEW, ...) --> 62 <queries> 63 <intent> 64 <action android:name="android.intent.action.VIEW" /> 65 <category android:name="android.intent.category.DEFAULT" /> 66 <data android:mimeType="*/*" /> 67 </intent> 68 </queries> 69 70 <application> 71 <service 72 android:name="org.mozilla.gecko.media.MediaManager" 73 android:enabled="true" 74 android:exported="false" 75 android:isolatedProcess="false" 76 android:process=":media"> 77 </service> 78 <service 79 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$gmplugin" 80 android:enabled="true" 81 android:exported="false" 82 android:isolatedProcess="false" 83 android:process=":gmplugin"> 84 </service> 85 <service 86 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$socket" 87 android:enabled="true" 88 android:exported="false" 89 android:isolatedProcess="false" 90 android:process=":socket"> 91 </service> 92 <service 93 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$gpu" 94 android:enabled="true" 95 android:exported="false" 96 android:isolatedProcess="false" 97 android:process=":gpu"> 98 </service> 99 <service 100 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$rdd" 101 android:enabled="true" 102 android:exported="false" 103 android:isolatedProcess="false" 104 android:process=":rdd"> 105 </service> 106 <service 107 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$utility" 108 android:enabled="true" 109 android:exported="false" 110 android:isolatedProcess="false" 111 android:process=":utility"> 112 </service> 113 <service 114 android:name="org.mozilla.gecko.process.GeckoChildProcessServices$ipdlunittest" 115 android:enabled="true" 116 android:exported="false" 117 android:isolatedProcess="false" 118 android:process=":ipdlunittest"> 119 </service> 120 <service 121 android:name="org.mozilla.gecko.crashhelper.CrashHelper" 122 android:enabled="true" 123 android:exported="false" 124 android:isolatedProcess="false" 125 android:process=":crashhelper" 126 android:stopWithTask="true"> 127 </service> 128 </application> 129 130 </manifest>