diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-21 09:19:18 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-21 09:19:18 +0200 |
commit | 301477c764f4f23ff223f931b44179b5e09b5d0d (patch) | |
tree | bb04a0aee75a62ab2c88279830d5b5c33d3a2554 /src/eu/siacs/conversations/services | |
parent | 7808e5b77fca74461f5cfd4821e225dc2bdd3270 (diff) |
save newly taken photos in DCIM dir
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/ImageProvider.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/eu/siacs/conversations/services/ImageProvider.java b/src/eu/siacs/conversations/services/ImageProvider.java index ff8eec0b..7ab57f5e 100644 --- a/src/eu/siacs/conversations/services/ImageProvider.java +++ b/src/eu/siacs/conversations/services/ImageProvider.java @@ -65,15 +65,6 @@ public class ImageProvider extends ContentProvider { pfd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); return pfd; - } else if ("w".equals(mode)){ - File file = fileBackend.getIncomingFile(); - try { - file.createNewFile(); - } catch (IOException e) { - throw new FileNotFoundException(); - } - pfd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); - return pfd; } else { throw new FileNotFoundException(); } @@ -118,8 +109,4 @@ public class ImageProvider extends ContentProvider { + message.getUuid() + ".webp"); } - - public static Uri getIncomingContentUri() { - return Uri.parse("content://eu.siacs.conversations.images/incoming"); - } }
\ No newline at end of file |