Android系统修改之葡萄牙沃达丰One Net服务问题处理
客户反馈的葡萄牙沃达丰的OneNet服务问题
Vodafone Portugal have a service (One Net) for enterprise customers that used MMI codes.
Detailed tests
#23#MSISDN* Per Call Dial Out with Company Number, COMPANY_GENERAL_PHONE
#31* Night mode implicit activate, I_NM_ACTIVATE
#32* Night mode implicit deactivate, I_NM_DEACTIVATE
#45#MSISDN* Force enable Alternative Call Line Identity Selection, FORCE_ENABLE_ACLIS
#46#MSISDN* Force disable Alternative Call Line Identity Selection, FORCE_DISABLE_ACLIS
#112#MSISDN* Per Call CLIP, SEMI_CLIP
#121#HUNT GROUP CODE* Allow to retrieve a trigger VM from a hunt member, HG_VM_RETRIEVE
#132#MSISDN* Call Transfer, CTRANSFERENCE
#154* My Call Pickup, MYCALL_PICKUP_COMMAND
#155* Implicit Ringing Group Call Pickup, I_GROUP_CALL_PICKUP
#155#HUNT NUMBER* Explicit Ringing Group Call Pickup, E_GROUP_CALL_PICKUP
#156* CallPark (Active Call Parking), CALL_PARK
#157* Implicit My Parked Call Pickup, I_MY_PARKED_CALL_PICKUP
#157#POSITION NUMBER* Explicit My Parked Call Pickup, E_MY_PARKED_CALL_PICKUP
#21#MSISDN* Use Call Hunting number, CHUNTING
#22#MSISDN* Use Call Hunting number with hunting prefix, CHUNTING_PREFIX
#32#COMPANY* Night mode explicit deactivate, E_NM_DEACTIVATE
#51#INTERNATIONAL MSISDN* At Office PreCall Mode, ATOFFICE_PRECALL
#114#MSISDN* Per Call CLIR, SEMI_CLIR
#141* Call Redial, C_REDIAL
#142* Call Return, C_RETURN
#143* Call Recall, C_RECALL
解决方法:
frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/GsmMmiCode.java
static GsmMmiCode newFromDialString(String dialString, GSMPhone phone, UiccCardApplication app) {
...
// 添加代码
if(dialString.startsWith("#") && dialString.endsWith("*")) {
return ret;
}
...
}
该问题牵涉到Phone应用的MMI处理流程, 以后有时间再分析