提交 4010ddd6 编写于 作者: M Mengjie Cai 提交者: GitHub

Merge pull request #10 from XunMengWinter/patch-2

修改电话拨打
......@@ -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.
先完成此消息的编辑!
想要评论请 注册