AndroidManifest.xml 3.13 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
3
4
5
<!-- 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/. -->

6
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
7
          package="org.mozilla.geckoview">
8

9
10
<!--#ifdef MOZ_ANDROID_NETWORK_STATE-->
    <!--
11
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
12
13
    -->
<!--#endif-->
14
15
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
16
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
17

18
19
<!--#ifdef MOZ_ANDROID_LOCATION-->
    <!--
20
21
22
23
24
25
    <uses-feature
            android:name="android.hardware.location"
            android:required="false"/>
    <uses-feature
            android:name="android.hardware.location.gps"
            android:required="false"/>
26
27
    -->
<!--#endif-->
28
29
30
    <uses-feature
            android:name="android.hardware.touchscreen"
            android:required="false"/>
31
32
33
34
<!--#ifdef MOZ_WEBRTC-->
    <!-- TODO preprocess AndroidManifest.xml so that we can
         conditionally include WebRTC permissions based on MOZ_WEBRTC. -->
    <!--
35
36
37
38
39
40
41
42
    <uses-feature
            android:name="android.hardware.camera"
            android:required="false"/>
    <uses-feature
            android:name="android.hardware.camera.autofocus"
            android:required="false"/>

    <uses-feature
43
            android:name="android.hardware.camera.any"
44
45
            android:required="false"/>
    <uses-feature
46
            android:name="android.hardware.audio.low_latency"
47
48
            android:required="false"/>
    <uses-feature
49
            android:name="android.hardware.microphone"
50
            android:required="false"/>
51
52
    -->
<!--#endif-->
53

54
    <!-- GeckoView requires OpenGL ES 2.0 -->
55
56
57
    <uses-feature
            android:glEsVersion="0x00020000"
            android:required="true"/>
58

59
    <application>
60
        <service
61
62
63
64
65
                android:name="org.mozilla.gecko.media.MediaManager"
                android:enabled="true"
                android:exported="false"
                android:isolatedProcess="false"
                android:process=":media">
66
67
        </service>
        <service
68
                android:name="org.mozilla.gecko.process.GeckoChildProcessServices$gmplugin"
69
70
71
                android:enabled="true"
                android:exported="false"
                android:isolatedProcess="false"
72
                android:process=":gmplugin">
73
        </service>
74
        <service
75
                android:name="org.mozilla.gecko.process.GeckoChildProcessServices$socket"
76
77
78
79
80
                android:enabled="true"
                android:exported="false"
                android:isolatedProcess="false"
                android:process=":socket">
        </service>
81
82
83
84
85
        <service
                android:name="org.mozilla.gecko.gfx.SurfaceAllocatorService"
                android:enabled="true"
                android:exported="false"
                android:isolatedProcess="false">
86
        </service>
87
    </application>
88

89
</manifest>