使代码实现和文档描述一致

This commit is contained in:
hyb1996
2018-12-21 14:25:14 +08:00
parent d3ef346f62
commit 311307c489
10 changed files with 185 additions and 93 deletions

View File

@@ -42,7 +42,7 @@ module.exports = function (runtime, global) {
}
if (i.type) {
if (i.data) {
intent.setDataAndType(android.net.Uri.parse(i.data), i.type);
intent.setDataAndType(app.parseUri(i.data), i.type);
} else {
intent.setType(i.type);
}