refactor(android): replace image path usage with image uris (#906)

* refactor(android): clean up image file path usages

* removed references of image paths in log messages
This commit is contained in:
Norman Breau
2024-10-28 12:35:50 -03:00
committed by GitHub
parent 7adccc8ee9
commit 0d86764b90
2 changed files with 335 additions and 283 deletions
+11
View File
@@ -19,6 +19,7 @@
package org.apache.cordova.camera;
import java.io.IOException;
import java.io.InputStream;
import android.media.ExifInterface;
@@ -56,6 +57,16 @@ public class ExifHelper {
this.inFile = new ExifInterface(filePath);
}
/**
* The file before it is compressed
*
* @param input
* @throws IOException
*/
public void createInFile(InputStream input) throws IOException {
this.inFile = new ExifInterface(input);
}
/**
* The file after it has been compressed
*