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

Commit 58eb2e64 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Update SubInfo#getNumber docs to reflect permission requirement"...

Merge "Merge "Update SubInfo#getNumber docs to reflect permission requirement" into rvc-dev am: c55df5a4 am: d351effa" into rvc-d1-dev-plus-aosp am: ed36cb51

Change-Id: I03924747ec9cc01f5e193d6620c521d24b34352b
parents de105ac9 ed36cb51
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -449,12 +449,20 @@ public class SubscriptionInfo implements Parcelable {
    }

    /**
     * @return the number of this subscription.
     * @return the number of this subscription if the calling app has been granted the
     * READ_PHONE_NUMBERS permission, or an empty string otherwise
     */
    public String getNumber() {
        return mNumber;
    }

    /**
     * @hide
     */
    public void clearNumber() {
        mNumber = "";
    }

    /**
     * @return the data roaming state for this subscription, either
     * {@link SubscriptionManager#DATA_ROAMING_ENABLE} or {@link SubscriptionManager#DATA_ROAMING_DISABLE}.