From bc9ecbcfbe17c62d35f1a35243aee3a3efb4cb56 Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Tue, 9 Mar 2021 15:06:30 -0800 Subject: Propagate Telephony disconnect cause to Telecom. Propagate telephony disconnect causes and imsreasoninfo to Telecom for propagation to CAllDiagnosticService. Plumb through disconnect message override in CallDiagnosticService. Test: Added new CTS test coverage for these APIs. Test: Manual test with telecom test app; verify the disconnect message is overridden. Bug: 163085177 Change-Id: I0c6938f2d0a46d535ae201364193ef58e07ec488 --- telecomm/java/com/android/internal/telecom/ICallDiagnosticService.aidl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'telecomm/java/com') diff --git a/telecomm/java/com/android/internal/telecom/ICallDiagnosticService.aidl b/telecomm/java/com/android/internal/telecom/ICallDiagnosticService.aidl index 65b4d19b3d9b..fc9879aaf0a8 100644 --- a/telecomm/java/com/android/internal/telecom/ICallDiagnosticService.aidl +++ b/telecomm/java/com/android/internal/telecom/ICallDiagnosticService.aidl @@ -18,6 +18,7 @@ package com.android.internal.telecom; import android.telecom.BluetoothCallQualityReport; import android.telecom.CallAudioState; +import android.telecom.DisconnectCause; import android.telecom.ParcelableCall; import com.android.internal.telecom.ICallDiagnosticServiceAdapter; @@ -34,4 +35,5 @@ oneway interface ICallDiagnosticService { void removeDiagnosticCall(in String callId); void receiveDeviceToDeviceMessage(in String callId, int message, int value); void receiveBluetoothCallQualityReport(in BluetoothCallQualityReport qualityReport); + void notifyCallDisconnected(in String callId, in DisconnectCause disconnectCause); } -- cgit v1.2.3-59-g8ed1b