Android 7.1 关于Volte新增加一些功能开关

7.1新增加功能开关(CarrierConfigManager)

1.默认不插卡紧急号码走ims,设置开关:

        // SetKEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL from true to false

       sDefaults.putBoolean(KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL,false);

 

2.关闭data,界面不显示volte视频入口开关:

        // SetKEY_IGNORE_DATA_ENABLED_CHANGED_FOR_VIDEO_CALLS from false to true

       sDefaults.putBoolean(KEY_IGNORE_DATA_ENABLED_CHANGED_FOR_VIDEO_CALLS,true);

Android 7.1 关于Volte新增加一些功能开关_第1张图片

 

3.volte分析一些关键字:

08-2421:59:50.123  1932  1932 D ImsManager: setAdvanced4GMode:turnOffIms

08-2421:59:50.808  1932  1932 D ImsManager: setAdvanced4GMode:turnOnIms

 

08-2421:59:25.268  1932  2095 D ImsPhoneCallTracker:[ImsPhoneCallTracker] onFeatureCapabilityChanged: isVolteEnabled=false,isVideoCallEnabled=false, isVowifiEnabled=false, isUtEnabled=false

08-2421:59:27.418  1932  2095 D ImsPhoneCallTracker:[ImsPhoneCallTracker] onFeatureCapabilityChanged: isVolteEnabled=false,isVideoCallEnabled=false, isVowifiEnabled=false, isUtEnabled=true

08-2421:59:50.172  1932  2095 D ImsPhoneCallTracker:[ImsPhoneCallTracker] onFeatureCapabilityChanged: isVolteEnabled=false,isVideoCallEnabled=false, isVowifiEnabled=false, isUtEnabled=true

你可能感兴趣的:(Android 7.1 关于Volte新增加一些功能开关)