Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix GHSL-2021-1008 by using permission instead of readPermission
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Oct 20, 2021
1 parent 8857ea7 commit b6ecf51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/AndroidManifest.xml
Expand Up @@ -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. -->
Expand Down

0 comments on commit b6ecf51

Please sign in to comment.