Skip to content

Commit 4010ddd

Browse files
authored
Merge pull request Blankj#10 from XunMengWinter/patch-2
修改电话拨打
2 parents 99daf21 + a5ef47f commit 4010ddd

File tree

1 file changed

+1
-1
lines changed
  • androidframework/src/main/java/com/blankj/androidframework/utils

1 file changed

+1
-1
lines changed

androidframework/src/main/java/com/blankj/androidframework/utils/PhoneUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static String getPhoneStatus(Context context) {
100100
* 拨打电话
101101
*/
102102
public static void callDial(Context context, String phoneNumber) {
103-
context.startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber)));
103+
context.startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + phoneNumber)));
104104
}
105105

106106
/**

0 commit comments

Comments
 (0)