Android 内置google dialer后发现拨号后,没有通话界面显示。

需要修改系统的默认的拨号等配置

packages\services\Telecomm\res\values\config.xml

<!-- Determines if the current device should allow emergency numbers to be logged in the

	 call log. Some carriers require that emergency calls *not* be logged, presumably to

	 avoid the risk of accidental redialing from the call log UI.

	 The default is false. -->

<bool name="allow_emergency_numbers_in_call_log">false</bool>

<!-- Determine whether we want to play local DTMF tones in a call, or just let the radio/BP

	 handle playing of the tones. -->

<bool name="allow_local_dtmf_tones">true</bool>

<!-- Package name for the default in-call UI and dialer [DO NOT TRANSLATE] -->

<string name="ui_default_package" translatable="false">com.google.android.dialer</string>

<!-- Class name for the default in-call UI Service [DO NOT TRANSLATE] -->

<string name="incall_default_class" translatable="false">com.android.incallui.InCallServiceImpl</string>

<!-- Class name for the default main dialer activity [DO NOT TRANSLATE] -->

<string name="dialer_default_class" translatable="false">com.android.dialer.DialtactsActivity</string>

<!-- Flag indicating if the tty is enabled -->

<bool name="tty_enabled">false</bool>

猜你喜欢

转载自blog.csdn.net/qq_32869123/article/details/84866340
今日推荐