/** * M: Fix ALPS00325719 * * @param cursor * @param contactUri * @return */ private Contact loadContactHeaderDataEX(final Cursor cursor, Uri contactUri) { Contact contact = loadContactHeaderData(cursor, contactUri); // set contacts's IndicatePhoneOrSimContact value contact.setIndicate(cursor.getInt(ContactQuery.INDICATE_PHONE_OR_SIM_CONTACT)); contact.setSimIndex(cursor.getInt(ContactQuery.INDEX_IN_SIM)); // fix CR ALPS01065879,sim Info Manager API Remove int slotId = SubInfoUtils.getSlotIdUsingSubId(contact.getIndicate()); contact.setSlot(slotId); return contact; }
public String getDisplayName() { String displayName = SubInfoUtils.getDisplaynameUsingSubId(mSubId); LogUtils.i(TAG, "[getDisplayName]displayName:" + displayName + ", subId:" + mSubId); return displayName; }