build: upgrade to ZXING 4.1.0

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-19 19:29:57 +05:30
parent 8523979c9c
commit 617be576f8
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ buildscript {
lifecycleRuntimeKtxVersion = '2.3.0'
materialComponentsVersion = '1.3.0'
preferenceVersion = '1.1.1'
zxingEmbeddedVersion = '3.6.0'
zxingEmbeddedVersion = '4.1.0'
groupName = 'com.wireguard.android'
}

View File

@ -19,7 +19,7 @@
android:name="android.software.leanback"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:name="android.hardware.camera.any"
android:required="false" />
<permission
@ -29,6 +29,9 @@
android:label="@string/permission_label"
android:protectionLevel="dangerous" />
<!-- This is safe to override, the APIs we use work perfectly fine on Android 6 -->
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />
<application
android:name=".Application"
android:allowBackup="false"