summaryrefslogtreecommitdiff
path: root/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java/com/android/internal/telecom/ITelecomService.aidl')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index 78283fa73514..18afde742abb 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -195,11 +195,18 @@ interface ITelecomService {
/**
* @see TelecomServiceImpl#getCallState
+ * Note: only kept around to not break app compat, however this will throw a SecurityException
+ * on API 31+.
*/
@UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
int getCallState();
/**
+ * @see TelecomServiceImpl#getCallState
+ */
+ int getCallStateUsingPackage(String callingPackage, String callingFeatureId);
+
+ /**
* @see TelecomServiceImpl#endCall
*/
boolean endCall(String callingPackage);