mobile/android/geckoview/src/main/AndroidManifest.xml
author Randall Barker <rbarker@mozilla.com>
Wed, 05 Oct 2016 16:50:48 -0700
changeset 322575 4ac9b7e9b8a21d9fdb5d2ec7d1fb223565d549e2
parent 316845 5d8f137ee52eb37c06d4ffd8b272f5543b6de834
child 325621 b1d7f3640ea7b8c7004d50d0001845564c6f71df
permissions -rw-r--r--
Bug 1314466 - part 6, Add new files to build r=nalexander

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

    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    <!-- READ_EXTERNAL_STORAGE was added in API 16, and is only enforced in API
         19+.  We declare it so that the bouncer APK and the main APK have the
         same set of permissions. -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
    <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>

    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.VIBRATE"/>

    <uses-feature android:name="android.hardware.location" android:required="false"/>
    <uses-feature android:name="android.hardware.location.gps" android:required="false"/>
    <uses-feature android:name="android.hardware.touchscreen"/>

    <!--#ifdef MOZ_WEBRTC-->
    <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
    <!--<uses-feature android:name="android.hardware.audio.low_latency" android:required="false"/>-->
    <!--<uses-feature android:name="android.hardware.camera.any" android:required="false"/>-->
    <!--<uses-feature android:name="android.hardware.microphone" android:required="false"/>-->
    <!--#endif-->

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera" android:required="false"/>
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

    <!-- App requires OpenGL ES 2.0 -->
    <uses-feature android:glEsVersion="0x00020000" android:required="true" />

    <!-- New child services must also be added to the Fennec AndroidManifest.xml.in -->
    <service
        android:name="org.mozilla.gecko.process.GeckoServiceChildProcess$geckomediaplugin"
        android:enabled="true"
        android:exported="false"
        android:process=":geckomediaplugin"
        android:isolatedProcess="false">
    </service>

    <service
        android:name="org.mozilla.gecko.process.GeckoServiceChildProcess$tab"
        android:enabled="true"
        android:exported="false"
        android:process=":tab"
        android:isolatedProcess="false">
    </service>

</manifest>