From 7dd493bff1ddfb0f12d95a6ed466f42973e09051 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 6 Aug 2016 11:14:36 +0200 Subject: don't name images "IMG_..." --- src/main/java/de/pixart/messenger/persistance/FileBackend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/de/pixart/messenger') diff --git a/src/main/java/de/pixart/messenger/persistance/FileBackend.java b/src/main/java/de/pixart/messenger/persistance/FileBackend.java index 51f7ae3c2..c9dc09ce4 100644 --- a/src/main/java/de/pixart/messenger/persistance/FileBackend.java +++ b/src/main/java/de/pixart/messenger/persistance/FileBackend.java @@ -461,7 +461,7 @@ public class FileBackend { pathBuilder.append('/'); pathBuilder.append("Camera"); pathBuilder.append('/'); - pathBuilder.append("IMG_" + this.fileDateFormat.format(new Date()) + ".jpg"); + pathBuilder.append(this.fileDateFormat.format(new Date()) + ".jpg"); Uri uri = Uri.parse("file://" + pathBuilder.toString()); File file = new File(uri.toString()); file.getParentFile().mkdirs(); -- cgit v1.2.3