From c30e05ee68f6c5e6f8c232b64b9863238e4cfbc2 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 20 Dec 2020 12:23:11 +0100 Subject: [PATCH] EN: Use own file provider class to ensure there is no duplicate use --- play-services-nearby-core/src/main/AndroidManifest.xml | 2 +- .../exposurenotification/ExposureFileProvider.kt | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 play-services-nearby-core/src/main/kotlin/org/microg/gms/nearby/exposurenotification/ExposureFileProvider.kt diff --git a/play-services-nearby-core/src/main/AndroidManifest.xml b/play-services-nearby-core/src/main/AndroidManifest.xml index a05e274a..74552838 100644 --- a/play-services-nearby-core/src/main/AndroidManifest.xml +++ b/play-services-nearby-core/src/main/AndroidManifest.xml @@ -58,7 +58,7 @@ diff --git a/play-services-nearby-core/src/main/kotlin/org/microg/gms/nearby/exposurenotification/ExposureFileProvider.kt b/play-services-nearby-core/src/main/kotlin/org/microg/gms/nearby/exposurenotification/ExposureFileProvider.kt new file mode 100644 index 00000000..0d5d21be --- /dev/null +++ b/play-services-nearby-core/src/main/kotlin/org/microg/gms/nearby/exposurenotification/ExposureFileProvider.kt @@ -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()