From 6c8e0f3f534fe45b49c8d293326a36966ca379b0 Mon Sep 17 00:00:00 2001 From: Jordan Liu Date: Mon, 22 Apr 2019 15:16:10 -0700 Subject: [PATCH] Update getUiccCardsInfo doc This method will return info for inactive eUICCs, filtered by carrier privilege. (Since we can't read carrier privilege on an inactive eUICC, we always assume that the caller does not have carrier privilege). Bug: 130826215 Test: manual Change-Id: Id89fa48f119004b6c18bd21791396bc6c3df2c95 --- telephony/java/android/telephony/TelephonyManager.java | 2 +- telephony/java/android/telephony/UiccCardInfo.java | 4 ++-- telephony/java/com/android/internal/telephony/ITelephony.aidl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index b0afd717403bd..d9a968ddb35da 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3321,7 +3321,7 @@ public class TelephonyManager { } /** - * Gets information about currently inserted UICCs and enabled eUICCs. + * Gets information about currently inserted UICCs and eUICCs. *

* Requires that the calling app has carrier privileges (see {@link #hasCarrierPrivileges}). *

diff --git a/telephony/java/android/telephony/UiccCardInfo.java b/telephony/java/android/telephony/UiccCardInfo.java index 2c98c4d403476..b438920362ff3 100644 --- a/telephony/java/android/telephony/UiccCardInfo.java +++ b/telephony/java/android/telephony/UiccCardInfo.java @@ -101,7 +101,7 @@ public final class UiccCardInfo implements Parcelable { /** * Get the embedded ID (EID) of the eUICC. If the UiccCardInfo is not an eUICC - * (see {@link #isEuicc()}), returns null. + * (see {@link #isEuicc()}), or the EID is not available, returns null. *

* Note that this field may be omitted if the caller does not have the correct permissions * (see {@link TelephonyManager#getUiccCardsInfo()}). @@ -115,7 +115,7 @@ public final class UiccCardInfo implements Parcelable { } /** - * Get the ICCID of the UICC. + * Get the ICCID of the UICC. If the ICCID is not availble, returns null. *

* Note that this field may be omitted if the caller does not have the correct permissions * (see {@link TelephonyManager#getUiccCardsInfo()}). diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 0169c26d393c7..f226bb1fa5887 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -1594,7 +1594,7 @@ interface ITelephony { int getCardIdForDefaultEuicc(int subId, String callingPackage); /** - * Gets information about currently inserted UICCs and enabled eUICCs. + * Gets information about currently inserted UICCs and eUICCs. *

* Requires that the calling app has carrier privileges (see {@link #hasCarrierPrivileges}). *