平台规则问题初步处理
This commit is contained in:
@@ -99,10 +99,16 @@ public class BaseUtils {
|
||||
viewHolder.setOnClickListener(R.id.ok, new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Intent.ACTION_CALL);
|
||||
|
||||
Intent intent = new Intent(Intent.ACTION_DIAL);
|
||||
Uri data = Uri.parse("tel:" + phoneNum);
|
||||
intent.setData(data);
|
||||
context.startActivity(intent);
|
||||
|
||||
// Intent intent = new Intent(Intent.ACTION_CALL);
|
||||
// Uri data = Uri.parse("tel:" + phoneNum);
|
||||
// intent.setData(data);
|
||||
// context.startActivity(intent);
|
||||
baseNiceDialog.dismiss();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user