Fix GHSL-2021-1008 by using permission instead of readPermission

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-10-12 12:19:37 +02:00
parent 8857ea7ddf
commit b6ecf515b3
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -306,9 +306,10 @@
<provider
android:name=".providers.DiskLruImageCacheFileProvider"
android:authorities="@string/image_cache_provider_authority"
android:exported="true"
android:grantUriPermissions="true"
android:readPermission="android.permission.MANAGE_DOCUMENTS" />
android:permission="android.permission.MANAGE_DOCUMENTS"
android:exported="true">
</provider>
<!-- Disable WorkManager initialization. Whoever designed this, should pay closer attention -->
<!-- to "best before" dates in his fridge. -->