Move READ_PHONE_STATE compat id to @hide
Bug: 185121376 Test: atest CtsTelephony2TestCases CtsTelecomTestCases2 Change-Id: I0207faf30c85cc3275e312939bec570390129304
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user