We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8771e commit 335a5fcCopy full SHA for 335a5fc
src/android/CameraLauncher.java
@@ -1002,7 +1002,7 @@ private Bitmap getScaledAndRotatedBitmap(String imageUrl) throws IOException {
1002
// Generate a temporary file
1003
String timeStamp = new SimpleDateFormat(TIME_FORMAT).format(new Date());
1004
String fileName = "IMG_" + timeStamp + (getExtensionForEncodingType());
1005
- localFile = new File(getTempDirectoryPath() + fileName);
+ localFile = new File(getTempDirectoryPath(), fileName);
1006
galleryUri = Uri.fromFile(localFile);
1007
writeUncompressedImage(fileStream, galleryUri);
1008
try {
0 commit comments