通话界面未指明通话的卡1或者卡资讯
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
联通入库有反馈,双卡呼出电话,界面没有文字指明卡1和卡2资讯
[SOLUTION]
please find the
alps/packages/apps/InCallUI/src/com/android/incallui/CallCardPresenter.java
There is a getCallProviderLabel() method.
in this method, you can retrieve slotId in the following way:
int subId = call.getSubId();
if (subId != Call.INVALID_SUB_ID) {
int slotId = SubscriptionManager.getSlotId(subId);
}
Since you've got the slotId, you can SIMply append it in the
"account.getLabel().toString()" of the same method.
you can customize the label like:
"Call via CU(SIM 1):"
联通入库有反馈,双卡呼出电话,界面没有文字指明卡1和卡2资讯
[SOLUTION]
please find the
alps/packages/apps/InCallUI/src/com/android/incallui/CallCardPresenter.java
There is a getCallProviderLabel() method.
in this method, you can retrieve slotId in the following way:
int subId = call.getSubId();
if (subId != Call.INVALID_SUB_ID) {
int slotId = SubscriptionManager.getSlotId(subId);
}
Since you've got the slotId, you can SIMply append it in the
"account.getLabel().toString()" of the same method.
you can customize the label like:
"Call via CU(SIM 1):"