diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2021-03-12 19:08:02 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2021-03-18 10:47:19 +0900 |
commit | a3648a387c0ceeb6b31bfea9ef532d2aa506bde0 (patch) | |
tree | 7e5d4082b85bfeade0e0c37578c649296d321751 /telephony/java | |
parent | c4b72cd7efb0ea7a5454c80b2e303ccb8ebba053 (diff) |
Make isDataCapable a public API
There is no definitive API to determine whether a device supports mobile
data; this API fills the gap.
Bug: 146206136
Test: m
Change-Id: I5daa302063ee4e9c27dd9ba1a09d65af80ed9d99
Diffstat (limited to 'telephony/java')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index e77ee365b4d3..63e1f6e8e144 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -11859,12 +11859,6 @@ public class TelephonyManager { * "Data capable" means that this device supports packet-switched * data connections over the telephony network. * <p> - * Note: the meaning of this flag is subtly different from the - * PackageManager.FEATURE_TELEPHONY system feature, which is available - * on any device with a telephony radio, even if the device is - * voice-only. - * - * @hide */ public boolean isDataCapable() { if (mContext == null) return true; |