diff options
author | 2023-02-23 15:48:31 -0800 | |
---|---|---|
committer | 2023-02-23 15:50:38 -0800 | |
commit | 649bedd65002f35f1c04d0610e27d579085edcfc (patch) | |
tree | 7442944bcf3c9a5c9d3327d716cd97a47ea3b9ca | |
parent | 6b7a9c8c119e9ff421fd98654655791022cd4199 (diff) |
log VoIP capabilites that were introduced in U
CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS and
CAPABILITY_SUPPORTS_CALL_STREAMING were added in android U.
Currently, if you register these capabilities, they fail to print
in dumpsys. This will make debugging harder. Adding to logs to
make the debugging easier.
bug: 270620095
Test: manual
Change-Id: Ia11907c983404b06c400fb9b8757a3ea26b08772
-rw-r--r-- | telecomm/java/android/telecom/PhoneAccount.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java index b6def1a22205..94c737d61b0a 100644 --- a/telecomm/java/android/telecom/PhoneAccount.java +++ b/telecomm/java/android/telecom/PhoneAccount.java @@ -1227,6 +1227,12 @@ public final class PhoneAccount implements Parcelable { if (hasCapabilities(CAPABILITY_VOICE_CALLING_AVAILABLE)) { sb.append("Voice "); } + if (hasCapabilities(CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS)) { + sb.append("TransactOps "); + } + if (hasCapabilities(CAPABILITY_SUPPORTS_CALL_STREAMING)) { + sb.append("Stream "); + } return sb.toString(); } |