提交 a5ef47f5 编写于 作者: X XunMengWinter 提交者: GitHub

修改电话拨打

改为无需权限的调起拨号界面。
上级 99daf21a
......@@ -100,7 +100,7 @@ public class PhoneUtils {
* 拨打电话
*/
public static void callDial(Context context, String phoneNumber) {
context.startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber)));
context.startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + phoneNumber)));
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册