summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/debug/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/fenix/app/src/debug/AndroidManifest.xml')
-rw-r--r--mobile/android/fenix/app/src/debug/AndroidManifest.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/debug/AndroidManifest.xml b/mobile/android/fenix/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000000..3597f244e3
--- /dev/null
+++ b/mobile/android/fenix/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,33 @@
+<!-- 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/. -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools">
+
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
+ <!-- Allows unlocking your device and activating its screen so UI tests can succeed -->
+ <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK"/>
+
+ <!-- Allows for storing and retrieving screenshots -->
+ <uses-permission
+ android:name="android.permission.WRITE_EXTERNAL_STORAGE"
+ android:maxSdkVersion="30"
+ tools:ignore="ScopedStorage"
+ tools:replace="android:maxSdkVersion"
+ />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+
+ <!-- Allows changing locales -->
+ <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"
+ tools:ignore="ProtectedPermissions" />
+
+ <application
+ tools:replace="android:name"
+ android:name="org.mozilla.fenix.DebugFenixApplication">
+
+ <activity android:name="androidx.activity.ComponentActivity" />
+ </application>
+
+</manifest>