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

Commit d0812639 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Move READ_PHONE_STATE compat id to @hide

Bug: 185121376
Test: atest CtsTelephony2TestCases CtsTelecomTestCases2
Change-Id: I0207faf30c85cc3275e312939bec570390129304
parent 1f1bbd88
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -40334,7 +40334,6 @@ package android.telecom {
    field public static final int DURATION_MEDIUM = 2; // 0x2
    field public static final int DURATION_SHORT = 1; // 0x1
    field public static final int DURATION_VERY_SHORT = 0; // 0x0
    field public static final long ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION = 157233955L; // 0x95f3323L
    field public static final String EXTRA_CALL_BACK_NUMBER = "android.telecom.extra.CALL_BACK_NUMBER";
    field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telecom.extra.CALL_DISCONNECT_CAUSE";
    field public static final String EXTRA_CALL_DISCONNECT_MESSAGE = "android.telecom.extra.CALL_DISCONNECT_MESSAGE";
+1 −0
Original line number Diff line number Diff line
@@ -1011,6 +1011,7 @@ public class TelecomManager {
     * Enable READ_PHONE_STATE protection on APIs querying and notifying call state, such as
     * {@code TelecomManager#getCallState}, {@link TelephonyManager#getCallStateForSubscription()},
     * and {@link android.telephony.TelephonyCallback.CallStateListener}.
     * @hide
     */
    @ChangeId
    @EnabledSince(targetSdkVersion = Build.VERSION_CODES.S)