From 9773b16a98c946e42d39afccc6255e1f1f611aed Mon Sep 17 00:00:00 2001 From: lookshe Date: Sun, 27 Mar 2016 14:41:25 +0200 Subject: Fixes FS#166 - Images cannot be opened since storing in private image folder --- .../java/de/thedevstack/conversationsplus/persistance/FileBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/de/thedevstack/conversationsplus/persistance') diff --git a/src/main/java/de/thedevstack/conversationsplus/persistance/FileBackend.java b/src/main/java/de/thedevstack/conversationsplus/persistance/FileBackend.java index 45510661..5645caf6 100644 --- a/src/main/java/de/thedevstack/conversationsplus/persistance/FileBackend.java +++ b/src/main/java/de/thedevstack/conversationsplus/persistance/FileBackend.java @@ -98,7 +98,7 @@ public class FileBackend { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).getAbsolutePath() + File.separator + ConversationsPlusPreferences.imgTransferFolder() + File.separator; } - private static String getPrivateFileDirectoryPath() { + public static String getPrivateFileDirectoryPath() { return ConversationsPlusApplication.getPrivateFilesDir().getAbsolutePath(); } -- cgit v1.2.3