aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-07-24 12:32:40 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-25 02:05:11 +0200
commit2087a10f5533e4b61811a3cb4e5019dcf2560d81 (patch)
tree570f81ddc7b189e2a736f2ba669ab8ed553586d3 /app/src/main/AndroidManifest.xml
parenttools: Bump wireguard submodule (diff)
downloadwireguard-android-2087a10f5533e4b61811a3cb4e5019dcf2560d81.tar.xz
wireguard-android-2087a10f5533e4b61811a3cb4e5019dcf2560d81.zip
Added QR code scanner as tunnel import method
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e422c56..b97dbc7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -4,6 +4,7 @@
package="com.wireguard.android"
android:installLocation="internalOnly">
+ <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@@ -50,6 +51,11 @@
android:label="@string/create_activity_title"
android:parentActivityName=".activity.MainActivity" />
+ <activity
+ android:name="com.journeyapps.barcodescanner.CaptureActivity"
+ android:screenOrientation="fullSensor"
+ tools:replace="screenOrientation" />
+
<receiver android:name=".BootShutdownReceiver">
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />