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

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

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