Android7.0 Phone應(yīng)用源碼分析(一) phone撥號(hào)流程分析
1.1 dialer撥號(hào)
撥號(hào)盤點(diǎn)擊撥號(hào)DialpadFragment的onClick方法會(huì)被調(diào)用
public void onClick(View view) { int resId = view.getId(); if (resId == R.id.dialpad_floating_action_button) { view.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); handleDialButtonPressed(); } else if (resId == R.id.deleteButton) { keyPressed(KeyEvent.KEYCODE_DEL); } else if (resId == R.id.digits) { if (!i