diff options
Diffstat (limited to 'src/main/java/eu/siacs/conversations/providers')
-rw-r--r-- | src/main/java/eu/siacs/conversations/providers/ConversationsPlusFileProvider.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/eu/siacs/conversations/providers/ConversationsPlusFileProvider.java b/src/main/java/eu/siacs/conversations/providers/ConversationsPlusFileProvider.java deleted file mode 100644 index 2146ea53..00000000 --- a/src/main/java/eu/siacs/conversations/providers/ConversationsPlusFileProvider.java +++ /dev/null @@ -1,20 +0,0 @@ -package eu.siacs.conversations.providers; - -import android.net.Uri; -import android.support.v4.content.FileProvider; - -import de.thedevstack.conversationsplus.ConversationsPlusApplication; -import eu.siacs.conversations.entities.DownloadableFile; - -/** - * Created by lookshe on 27.03.16. - */ -public class ConversationsPlusFileProvider extends FileProvider { - - private static final String SCHEME = "content"; - private static final String AUTHORITY = "de.thedevstack.conversationsplus"; - - public static Uri createUriForPrivateFile(DownloadableFile file) { - return FileProvider.getUriForFile(ConversationsPlusApplication.getAppContext(), AUTHORITY, file); - } -} |