Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ba6b754 authored by Arun kumar Voddu's avatar Arun kumar Voddu Committed by Automerger Merge Worker
Browse files

Merge "Update the TelephonyManager#hasIccCard API documentation" into udc-dev...

Merge "Update the TelephonyManager#hasIccCard API documentation" into udc-dev am: 2d4b18e6 am: edfd56a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21899900



Change-Id: Ifedab7c13eec08a2c4917e372ae27bb0534d8cc8
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d3633014 edfd56a6
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -3511,7 +3511,15 @@ public class TelephonyManager {
    public static final String ACTION_SECRET_CODE = "android.telephony.action.SECRET_CODE";
    /**
     * @return true if a ICC card is present
     * This API is used to check if there is an ICC card present in the device.
     *
     * An ICC card is a smart card that contains a subscriber identity module (SIM) and is used
     * to identify and authenticate users to a mobile network.
     *
     * Note: In case of embedded SIM there is an ICC card always present irrespective
     * of whether an active SIM profile is present or not so this API would always return true.
     *
     * @return true if a ICC card is present.
     */
    @RequiresFeature(PackageManager.FEATURE_TELEPHONY_SUBSCRIPTION)
    public boolean hasIccCard() {