Use ACTION_CALL instead of ACTION_DIAL for user's convenience.

This commit is contained in:
Andrew Kurniadi 2014-03-19 15:53:37 +07:00
parent d3e2ae18e8
commit ed10848336

View file

@ -684,7 +684,7 @@ public class UserProfileActivity extends BaseFragment implements NotificationCen
public void onClick(DialogInterface dialogInterface, int i) {
if (i == 1) {
try {
Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:+" + selectedPhone));
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:+" + selectedPhone));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
} catch (Exception e) {