Loading src/java/com/android/internal/telephony/SubscriptionController.java +2 −2 Original line number Diff line number Diff line Loading @@ -861,7 +861,7 @@ public class SubscriptionController extends ISub.Stub { */ @Override public int setDisplayNumber(String number, int subId) { if (DBG) logd("[setDisplayNumber]+ number:" + number + " subId:" + subId); if (DBG) logd("[setDisplayNumber]+ subId:" + subId); enforceSubscriptionPermission(); validateSubId(subId); Loading @@ -883,7 +883,7 @@ public class SubscriptionController extends ISub.Stub { result = mContext.getContentResolver().update(SubscriptionManager.CONTENT_URI, value, SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID + "=" + Long.toString(subId), null); if (DBG) logd("[setDisplayNumber]- number: " + number + " update result :" + result); if (DBG) logd("[setDisplayNumber]- update result :" + result); notifySubscriptionInfoChanged(); return result; Loading src/java/com/android/internal/telephony/uicc/RuimRecords.java +0 −1 Original line number Diff line number Diff line Loading @@ -842,7 +842,6 @@ public final class RuimRecords extends IccRecords { int phoneId = mParentApp.getUiccCard().getPhoneId(); int[] subIds = SubscriptionController.getInstance().getSubId(phoneId); if (subIds != null) { log("Calling setDisplayNumber for subId and number " + subIds[0] + " and " + mMdn); SubscriptionManager.from(mContext).setDisplayNumber(mMdn, subIds[0]); } else { log("Cannot call setDisplayNumber: invalid subId"); Loading Loading
src/java/com/android/internal/telephony/SubscriptionController.java +2 −2 Original line number Diff line number Diff line Loading @@ -861,7 +861,7 @@ public class SubscriptionController extends ISub.Stub { */ @Override public int setDisplayNumber(String number, int subId) { if (DBG) logd("[setDisplayNumber]+ number:" + number + " subId:" + subId); if (DBG) logd("[setDisplayNumber]+ subId:" + subId); enforceSubscriptionPermission(); validateSubId(subId); Loading @@ -883,7 +883,7 @@ public class SubscriptionController extends ISub.Stub { result = mContext.getContentResolver().update(SubscriptionManager.CONTENT_URI, value, SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID + "=" + Long.toString(subId), null); if (DBG) logd("[setDisplayNumber]- number: " + number + " update result :" + result); if (DBG) logd("[setDisplayNumber]- update result :" + result); notifySubscriptionInfoChanged(); return result; Loading
src/java/com/android/internal/telephony/uicc/RuimRecords.java +0 −1 Original line number Diff line number Diff line Loading @@ -842,7 +842,6 @@ public final class RuimRecords extends IccRecords { int phoneId = mParentApp.getUiccCard().getPhoneId(); int[] subIds = SubscriptionController.getInstance().getSubId(phoneId); if (subIds != null) { log("Calling setDisplayNumber for subId and number " + subIds[0] + " and " + mMdn); SubscriptionManager.from(mContext).setDisplayNumber(mMdn, subIds[0]); } else { log("Cannot call setDisplayNumber: invalid subId"); Loading