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
This commit is contained in:
Thomas Stuart
2023-02-23 15:48:31 -08:00
parent 6b7a9c8c11
commit 649bedd650

View File

@@ -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();
}