summaryrefslogtreecommitdiffstats
path: root/testapps
diff options
context:
space:
mode:
Diffstat (limited to 'testapps')
-rw-r--r--testapps/src/com/android/server/telecom/testapps/TestCallDiagnosticService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapps/src/com/android/server/telecom/testapps/TestCallDiagnosticService.java b/testapps/src/com/android/server/telecom/testapps/TestCallDiagnosticService.java
index 73bf43825..36554ec60 100644
--- a/testapps/src/com/android/server/telecom/testapps/TestCallDiagnosticService.java
+++ b/testapps/src/com/android/server/telecom/testapps/TestCallDiagnosticService.java
@@ -51,14 +51,14 @@ public class TestCallDiagnosticService extends CallDiagnosticService {
@Override
public CharSequence onCallDisconnected(int disconnectCause, int preciseDisconnectCause) {
Log.i(this, "onCallDisconnected");
- return null;
+ return "GSM/CDMA call dropped because " + disconnectCause;
}
@Nullable
@Override
public CharSequence onCallDisconnected(@NonNull ImsReasonInfo disconnectReason) {
Log.i(this, "onCallDisconnected");
- return null;
+ return "ImsCall dropped because something happened " + disconnectReason.mExtraMessage;
}
@Override