summaryrefslogtreecommitdiffstats
path: root/mobile/android/tests/browser/robocop/AndroidManifest.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/tests/browser/robocop/AndroidManifest.xml.in')
-rw-r--r--mobile/android/tests/browser/robocop/AndroidManifest.xml.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/mobile/android/tests/browser/robocop/AndroidManifest.xml.in b/mobile/android/tests/browser/robocop/AndroidManifest.xml.in
new file mode 100644
index 000000000..028799f72
--- /dev/null
+++ b/mobile/android/tests/browser/robocop/AndroidManifest.xml.in
@@ -0,0 +1,67 @@
+#filter substitution
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.mozilla.roboexample.test"
+#ifdef MOZ_ANDROID_SHARED_ID
+ android:sharedUserId="@MOZ_ANDROID_SHARED_ID@"
+#endif
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk android:minSdkVersion="@MOZ_ANDROID_MIN_SDK_VERSION@"
+#ifdef MOZ_ANDROID_MAX_SDK_VERSION
+ android:maxSdkVersion="@MOZ_ANDROID_MAX_SDK_VERSION@"
+#endif
+ android:targetSdkVersion="23"/>
+
+ <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"
+ android:debuggable="true">
+
+ <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>