1. packages/apps/Settings/src/com/android/settings/SoundSettings.java
==>
原始:(默认如果数据库中没有设置过该DTMF_TONE_WHEN_DIALING字符串对应的数据,那么默认数值选为1,同时操作settings界面)
mDtmfTone.setChecked(Settings.System.getInt(resolver,
Settings.System.DTMF_TONE_WHEN_DIALING, 1) != 0);
改为:(默认如果数据库没有设置,那么默认数值选为0,同时操作settings界面)
mDtmfTone.setChecked(Settings.System.getInt(resolver,
Settings.System.DTMF_TONE_WHEN_DIALING, 0) != 0);
2. packages/apps/Phone/src/com/android/phone/EmergencyDialer.java
==>
原始:(默认如果数据库中没有设置过该DTMF_TONE_WHEN_DIALING字符串对应的数据,那么默认数值选为1)
mDTMFToneEnabled = Settings.System.getInt(getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1;
改为:(默认如果数据库没有设置,那么默认数值选为0, 即默认关闭)
mDTMFToneEnabled = Settings.System.getInt(getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 0) == 1;
3. packages/apps/Phone/src/com/android/phone/DTMFTwelveKeyDialer.java
==>
原始:(默认如果数据库中没有设置过该DTMF_TONE_WHEN_DIALING字符串对应的数据,那么默认数值选为1)
mDTMFToneEnabled = Settings.System.getInt(mInCallScreen.getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1;
改为:(默认如果数据库没有设置,那么默认数值选为0, 即默认关闭)
mDTMFToneEnabled = Settings.System.getInt(mInCallScreen.getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 0) == 1;
4. packages/apps/Contacts/src/com/android/contacts/TwelveKeyDialer.java
==> normal时拨号界面-也是默认拨号发声的地方
原始:(默认如果数据库中没有设置过该DTMF_TONE_WHEN_DIALING字符串对应的数据,那么默认数值选为1)
// retrieve the DTMF tone play back setting.
mDTMFToneEnabled = Settings.System.getInt(getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 1) == 1;
改为:(默认如果数据库没有设置,那么默认数值选为0, 即默认关闭)
mDTMFToneEnabled = Settings.System.getInt(getContentResolver(),
Settings.System.DTMF_TONE_WHEN_DIALING, 0) == 1;
阅读(4899) | 评论(0) | 转发(0) |