aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-04-03 16:24:47 +0200
committerlookshe <github@lookshe.org>2016-04-03 16:24:47 +0200
commitd2834ccfd11df88f93f6926544b1aa1dbff3c104 (patch)
tree03e1307070ee1421114ff9419821cc033d8b662d /src/main/java/de/thedevstack/conversationsplus
parent62b87d07968a2f915a5002a5e62402e0000a29cc (diff)
fixed installation error "W/PackageManager: Can't install because provider name de.thedevstack.conversationsplus (in package eu.siacs.conversations) is already used by de.thedevstack.conversationsplus"
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java b/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java
deleted file mode 100644
index 0b4ee5a3..00000000
--- a/src/main/java/de/thedevstack/conversationsplus/providers/ConversationsPlusFileProvider.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package de.thedevstack.conversationsplus.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);
- }
-}