diff options
| author | Meng Wang <mewan@google.com> | 2020-01-03 22:20:28 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-03 22:20:28 +0000 |
| commit | b3b8a1f79345157e5a49b6ab7bc4602d7d472f3d (patch) | |
| tree | 9affc55d95620228773101e3c31f6e273161dc82 /core/java/android | |
| parent | 950e55d4f249cb0c754ff7adc3414f957fe871f0 (diff) | |
| parent | 0c8855d36cb72b1287840143cb3c8f5fea5f9ca0 (diff) | |
Merge "SubscriptionPlan: remove getNetworkTypesBitMask"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/telephony/SubscriptionPlan.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/java/android/telephony/SubscriptionPlan.java b/core/java/android/telephony/SubscriptionPlan.java index 28a5c2086ede..ff2f4ad5378c 100644 --- a/core/java/android/telephony/SubscriptionPlan.java +++ b/core/java/android/telephony/SubscriptionPlan.java @@ -228,24 +228,6 @@ public final class SubscriptionPlan implements Parcelable { } /** - * Return the networkTypes array converted to a {@link TelephonyManager.NetworkTypeBitMask} - * @hide - */ - public long getNetworkTypesBitMask() { - // calculate bitmask the first time and save for future calls - if (networkTypesBitMask == 0) { - if (networkTypes == null) { - networkTypesBitMask = ~0; - } else { - for (int networkType : networkTypes) { - networkTypesBitMask |= TelephonyManager.getBitMaskForNetworkType(networkType); - } - } - } - return networkTypesBitMask; - } - - /** * Return an iterator that will return all valid data usage cycles based on * any recurrence rules. The iterator starts from the currently active cycle * and walks backwards through time. |
