diff options
Diffstat (limited to 'mobile/android/geckoview/src/androidTest/AndroidManifest.xml')
-rw-r--r-- | mobile/android/geckoview/src/androidTest/AndroidManifest.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mobile/android/geckoview/src/androidTest/AndroidManifest.xml b/mobile/android/geckoview/src/androidTest/AndroidManifest.xml new file mode 100644 index 0000000000..f5cc3c2981 --- /dev/null +++ b/mobile/android/geckoview/src/androidTest/AndroidManifest.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="org.mozilla.geckoview.test"> + + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> + <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> + <uses-permission android:name="android.permission.CAMERA"/> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> + <uses-permission android:name="android.permission.RECORD_AUDIO"/> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> + + <application + android:allowBackup="true" + android:icon="@mipmap/ic_launcher" + android:label="@string/app_name" + android:supportsRtl="true" + android:theme="@style/AppTheme" + android:name="androidx.multidex.MultiDexApplication"> + <activity android:name=".TestRunnerActivity" android:exported="true"/> + <activity android:name=".GeckoViewTestActivity" android:exported="true"/> + <activity-alias android:name=".App" android:targetActivity=".TestRunnerActivity"> + <intent-filter> + <action android:name="android.intent.action.MAIN"/> + <category android:name="android.intent.category.DEFAULT"/> + <category android:name="android.intent.category.LAUNCHER"/> + </intent-filter> + </activity-alias> + + <!-- This is used for crash handling in GeckoSessionTestRule --> + <service + android:name=".TestCrashHandler" + android:enabled="true" + android:exported="false" + android:process=":crash"> + </service> + + <!-- This is needed for ParentCrashTest --> + <service + android:name=".crash.RemoteGeckoService" + android:enabled="true" + android:exported="false" + android:process=":gecko"> + </service> + </application> + +</manifest> |