From 405aaafb9520da4d33b1cae2f05d2ce9118f146d Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Mon, 1 Jun 2015 17:12:14 -0700 Subject: [PATCH] Change to hide BEARER_BITMASK. BEARER_BITMASK uses ServiceState constants that are not public so keeping it hidden for now. Ideally it should use TelephonyManager constants instead as they are already public. However the constant values for same RATs are different between the two. So mapping from one to the other is as apns xml files will also need to be updated (including those of OEMs). Bug: 21342148 Change-Id: Iced28ede187d3e72b3f969bc99af4edf34d86a36 --- api/current.txt | 3 +-- api/system-current.txt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index a5332f680eaef..0b742e906b2e8 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25724,8 +25724,7 @@ package android.provider { public static final class Telephony.Carriers implements android.provider.BaseColumns { field public static final java.lang.String APN = "apn"; field public static final java.lang.String AUTH_TYPE = "authtype"; - field public static final deprecated java.lang.String BEARER = "bearer"; - field public static final java.lang.String BEARER_BITMASK = "bearer_bitmask"; + field public static final java.lang.String BEARER = "bearer"; field public static final java.lang.String CARRIER_ENABLED = "carrier_enabled"; field public static final android.net.Uri CONTENT_URI; field public static final java.lang.String CURRENT = "current"; diff --git a/api/system-current.txt b/api/system-current.txt index 49fb1572b3fb0..a33c8ba698679 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -27421,8 +27421,7 @@ package android.provider { public static final class Telephony.Carriers implements android.provider.BaseColumns { field public static final java.lang.String APN = "apn"; field public static final java.lang.String AUTH_TYPE = "authtype"; - field public static final deprecated java.lang.String BEARER = "bearer"; - field public static final java.lang.String BEARER_BITMASK = "bearer_bitmask"; + field public static final java.lang.String BEARER = "bearer"; field public static final java.lang.String CARRIER_ENABLED = "carrier_enabled"; field public static final android.net.Uri CONTENT_URI; field public static final java.lang.String CURRENT = "current";