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

Commit 024fb272 authored by Stuart Scott's avatar Stuart Scott Committed by Natiq Ahmed
Browse files

Unhide getDataRoaming, Messenger uses it to decide to download MMS or not

bug:19015551
Change-Id: Ibcad6424695a97bd9ae123010bdf740449d09327
parent 91d61510
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28635,6 +28635,7 @@ package android.telephony {
    method public int describeContents();
    method public java.lang.CharSequence getCarrierName();
    method public java.lang.String getCountryIso();
    method public int getDataRoaming();
    method public java.lang.CharSequence getDisplayName();
    method public java.lang.String getIccId();
    method public int getIconTint();
+2 −3
Original line number Diff line number Diff line
@@ -266,9 +266,8 @@ public class SubscriptionInfo implements Parcelable {
    }

    /**
     * @return the data roaming state for this subscription, either DATA_ROAMING_ENABLE or
     * DATA_ROAMING_DISABLE.
     * @hide
     * @return the data roaming state for this subscription, either
     * {@link SubscriptionManager#DATA_ROAMING_ENABLE} or {@link SubscriptionManager#DATA_ROAMING_DISABLE}.
     */
    public int getDataRoaming() {
        return this.mDataRoaming;
+2 −2
Original line number Diff line number Diff line
@@ -256,10 +256,10 @@ public class SubscriptionManager {
    /** @hide */
    public static final String DATA_ROAMING = "data_roaming";

    /** @hide */
    /** Indicates that data roaming is enabled for a subscription */
    public static final int DATA_ROAMING_ENABLE = 1;

    /** @hide */
    /** Indicates that data roaming is disabled for a subscription */
    public static final int DATA_ROAMING_DISABLE = 0;

    /** @hide */