diff --git a/app/src/main/java/com/simplemobiletools/camera/Utils.java b/app/src/main/java/com/simplemobiletools/camera/Utils.java index 445e08d8..20db3f35 100644 --- a/app/src/main/java/com/simplemobiletools/camera/Utils.java +++ b/app/src/main/java/com/simplemobiletools/camera/Utils.java @@ -67,6 +67,10 @@ public class Utils { } private static File getFolderName(Context context, boolean isPhoto) { + if (Config.newInstance(context).getUseDCIMFolder()) { + return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM); + } + final Resources res = context.getResources(); String typeDirectory = res.getString(R.string.photo_directory); if (!isPhoto) {