EN: Use own file provider class to ensure there is no duplicate use

This commit is contained in:
Marvin W 2020-12-20 12:23:11 +01:00
parent f0337b5dcd
commit c30e05ee68
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
2 changed files with 11 additions and 1 deletions

View File

@ -58,7 +58,7 @@
</receiver>
<provider
android:name="androidx.core.content.FileProvider"
android:name="org.microg.gms.nearby.exposurenotification.ExposureFileProvider"
android:authorities="${applicationId}.microg.exposure.export"
android:exported="false"
android:grantUriPermissions="true">

View File

@ -0,0 +1,10 @@
/*
* SPDX-FileCopyrightText: 2020, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package org.microg.gms.nearby.exposurenotification
import androidx.core.content.FileProvider
class ExposureFileProvider : FileProvider()