Request "REQUEST_INSTALL_PACKAGES" permission only in apkstore variant

Fixes #392
This commit is contained in:
Julian Raufelder 2021-11-30 14:22:33 +01:00
parent 8246480984
commit f303d3c48b
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.cryptomator.presentation">
<!-- Required to self update Cryptomator in the apkstore variant -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
</manifest>

View File

@ -10,7 +10,6 @@
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission
android:name="android.permission.GET_ACCOUNTS"