From eb5c27d469e07002911e7344244bcaac335a455a 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 Merged-In: 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 add7d38edfdfa..510e7c9f864fa 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3281,7 +3281,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 d95a4992f8087..2246ccc315c87 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 0ad60963c398d..71ea881fbf5d9 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -1586,7 +1586,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}). *