summaryrefslogtreecommitdiffstats
path: root/mobile/android/app/src/androidTest/AndroidManifest.xml
blob: 9478f5b0799fc53b47e403aa0f1851e4a93a0403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.mozilla.roboexample.test"
    android:sharedUserId="${MOZ_ANDROID_SHARED_ID}"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="${MOZ_ANDROID_MIN_SDK_VERSION}"
              android:targetSdkVersion="23"/>
    <!-- TODO: re-instate maxSdkVersion. -->

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

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

    <instrumentation
        android:name="org.mozilla.gecko.FennecInstrumentationTestRunner"
        android:targetPackage="${ANDROID_PACKAGE_NAME}" />

    <application
        android:label="@string/app_name">

        <uses-library android:name="android.test.runner" />

        <!-- Fake handlers to ensure that we have some share intents to show in our share handler list -->
        <activity android:name="org.mozilla.gecko.RobocopShare1"
                  android:label="Robocop fake activity">

            <intent-filter android:label="Fake robocop share handler 1">
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/*" />
                <data android:mimeType="image/*" />
            </intent-filter>

        </activity>

        <activity android:name="org.mozilla.gecko.RobocopShare2"
                  android:label="Robocop fake activity 2">

            <intent-filter android:label="Fake robocop share handler 2">
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/*" />
                <data android:mimeType="image/*" />
            </intent-filter>

        </activity>

        <activity android:name="org.mozilla.gecko.LaunchFennecWithConfigurationActivity"
                  android:label="Robocop Fennec">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

    </application>

</manifest>