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

Commit 70792f37 authored by Tom Taylor's avatar Tom Taylor
Browse files

DO NOT MERGE - Make new SmsManager API's dealing with SubId hidden

Bug 17422049

Change-Id: Ia7931dc805536018d2f39d08e8613cca859b10b0
parent 17e77849
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -449,10 +449,9 @@ public final class SmsManager {
    }

    /**
     * Get the SmsManager associated with the default subId. The instance will always be
     * associated with the default subId, even if the default subId is changed.
    * Get the default instance of the SmsManager
    *
     * @return the SmsManager associated with the default subId
    * @return the default instance of the SmsManager
    */
    public static SmsManager getDefault() {
        return sInstance;
@@ -463,6 +462,8 @@ public final class SmsManager {
     *
     * @param subId a SMS subscription id, typically accessed using SubscriptionManager
     * @return the instance of the SmsManager associated with subId
     *
     * {@hide}
     */
    public static SmsManager getSmsManagerUsingSubId(long subId) {
        // TODO(shri): Add javadoc link once SubscriptionManager is made public api
@@ -487,6 +488,8 @@ public final class SmsManager {
     * subId cannot be determined.
     *
     * @return associated subId
     *
     * {@hide}
     */
    public long getSubId() {
        // TODO(shri): Add javadoc link once SubscriptionManager is made public api