summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorStuart Scott <stuartscott@google.com>2015-01-15 03:45:04 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-15 03:45:04 +0000
commit2a3e8c729d2e5c166775d6810346406b4fcc2eb0 (patch)
tree14a390419fc1809b44b5e87e856f6547b2fa2f86 /telephony
parent70a4cb92f927a03349918da29e7e5bcd89085f63 (diff)
parente2b9d5b56c6b06418e85cd49afd87e0d08f57c71 (diff)
downloadframeworks_base-2a3e8c729d2e5c166775d6810346406b4fcc2eb0.zip
frameworks_base-2a3e8c729d2e5c166775d6810346406b4fcc2eb0.tar.gz
frameworks_base-2a3e8c729d2e5c166775d6810346406b4fcc2eb0.tar.bz2
am e2b9d5b5: am 542f4ee6: am a2fa3d21: Merge "Unhide getDataRoaming, Messenger uses it to decide to download MMS or not." into lmp-mr1-dev
* commit 'e2b9d5b56c6b06418e85cd49afd87e0d08f57c71': Unhide getDataRoaming, Messenger uses it to decide to download MMS or not.
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/SubscriptionInfo.java5
-rw-r--r--telephony/java/android/telephony/SubscriptionManager.java4
2 files changed, 4 insertions, 5 deletions
diff --git a/telephony/java/android/telephony/SubscriptionInfo.java b/telephony/java/android/telephony/SubscriptionInfo.java
index f3b6910..adbe1d8 100644
--- a/telephony/java/android/telephony/SubscriptionInfo.java
+++ b/telephony/java/android/telephony/SubscriptionInfo.java
@@ -254,9 +254,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;
diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java
index 9ef6f1f..c67629d 100644
--- a/telephony/java/android/telephony/SubscriptionManager.java
+++ b/telephony/java/android/telephony/SubscriptionManager.java
@@ -226,10 +226,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 */