mirror of
https://gitee.com/shuto/cordova-imagePicker.git
synced 2026-05-05 00:00:01 +08:00
Merge remote-tracking branch 'upstream/master'
# Conflicts: # plugin.xml
This commit is contained in:
@@ -626,7 +626,7 @@ public class MultiImageChooserActivity extends Activity implements OnItemClickLi
|
||||
int index = fileName.lastIndexOf('.');
|
||||
String name = fileName.substring(0, index);
|
||||
String ext = fileName.substring(index);
|
||||
File file = File.createTempFile(name, ext);
|
||||
File file = File.createTempFile("tmp_" + name, ext);
|
||||
OutputStream outStream = new FileOutputStream(file);
|
||||
if (ext.compareToIgnoreCase(".png") == 0) {
|
||||
bmp.compress(Bitmap.CompressFormat.PNG, quality, outStream);
|
||||
|
||||
Reference in New Issue
Block a user