Implement new APIs to notify call audio routing information as a form of CallEndpoint
Add CallEndpointController to transform the CallAudioState into CallEndpoint and notify InCallService and Connection of changes.
bug: 260952109
Test: unit test
Change-Id: I61130a02499b9538b2558ab78d05d4f5cb2c892e
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d3196b9..d67df4b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -383,4 +383,16 @@
<string name="cancel">Cancel</string>
<!-- Button label for generic back action [CHAR LIMIT=20] -->
<string name="back">Back</string>
+ <!-- The user-visible name of the earpiece type CallEndpoint -->
+ <string name="callendpoint_name_earpiece">Earpiece</string>
+ <!-- The user-visible name of the bluetooth type CallEndpoint -->
+ <string name="callendpoint_name_bluetooth">Bluetooth</string>
+ <!-- The user-visible name of the wired headset type CallEndpoint -->
+ <string name="callendpoint_name_wiredheadset">Wired headset</string>
+ <!-- The user-visible name of the speaker type CallEndpoint -->
+ <string name="callendpoint_name_speaker">Speaker</string>
+ <!-- The user-visible name of the streaming type CallEndpoint -->
+ <string name="callendpoint_name_streaming">External</string>
+ <!-- The user-visible name of the unknown new type CallEndpoint -->
+ <string name="callendpoint_name_unknown">Unknown</string>
</resources>