增加 images图片处理函数

This commit is contained in:
hyb1996
2018-10-24 13:33:11 +08:00
parent d400591df4
commit cd71a7e1dd
8 changed files with 357 additions and 168 deletions

View File

@@ -99,7 +99,7 @@ module.exports = function(runtime, global){
return arr;
}
app.getUriForFile = function(file){
app.getUriForFile = function(path){
return android.support.v4.content.FileProvider.getUriForFile(context,
"org.autojs.autojs.fileprovider", new java.io.File(files.path(path)));
};