diff options
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java b/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java index a718b161..577a5dd4 100644 --- a/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java +++ b/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java @@ -3,6 +3,7 @@ package de.thedevstack.conversationsplus.providers; import android.net.Uri; import android.support.v4.content.FileProvider; +import de.thedevstack.conversationsplus.BuildConfig; import de.thedevstack.conversationsplus.ConversationsPlusApplication; import de.thedevstack.conversationsplus.entities.DownloadableFile; @@ -12,7 +13,7 @@ import de.thedevstack.conversationsplus.entities.DownloadableFile; public class ConversationsPlusFileProvider extends FileProvider { private static final String SCHEME = "content"; - private static final String AUTHORITY = "de.thedevstack.conversationsplus"; + private static final String AUTHORITY = BuildConfig.APPLICATION_ID; public static Uri createUriForPrivateFile(DownloadableFile file) { return FileProvider.getUriForFile(ConversationsPlusApplication.getAppContext(), AUTHORITY, file); |