2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 03:05:32 +00:00

Prevent specific permissions from being requested (#170)

open_file package requests the REQUEST_INSTALL_PACKAGES permission by default
This commit is contained in:
Oliver
2022-07-13 20:11:49 +10:00
committed by GitHub
parent 900074f458
commit acbb2d2947

View File

@ -56,4 +56,11 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!--
Prevent lower level dependencies from including specific permissions.
Ref: https://developer.android.com/studio/build/manage-manifests
-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove"/>
<uses-permission android:name="android.permission.INSTALL_PACKAGES" tools:node="remove"/>
</manifest>