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

Commit d6cf6034 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

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
parent 96f1e8d7
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -2585,9 +2585,7 @@ public final class Telephony {
         * This should be spread to other technologies,
         * This should be spread to other technologies,
         * but is currently only used for LTE (14) and eHRPD (13).
         * but is currently only used for LTE (14) and eHRPD (13).
         * <P>Type: INTEGER</P>
         * <P>Type: INTEGER</P>
         * @deprecated Use {@link #BEARER_BITMASK} instead.
         */
         */
        @Deprecated
        public static final String BEARER = "bearer";
        public static final String BEARER = "bearer";


        /**
        /**
@@ -2597,6 +2595,7 @@ public final class Telephony {
         * RAT/bearer 2 and so on.
         * RAT/bearer 2 and so on.
         * Bitmask for a radio tech R is (1 << (R - 1))
         * Bitmask for a radio tech R is (1 << (R - 1))
         * <P>Type: INTEGER</P>
         * <P>Type: INTEGER</P>
         * @hide
         */
         */
        public static final String BEARER_BITMASK = "bearer_bitmask";
        public static final String BEARER_BITMASK = "bearer_bitmask";