diff options
author | 2024-02-16 15:57:20 +0000 | |
---|---|---|
committer | 2024-02-16 15:57:20 +0000 | |
commit | b80207f6c6b6add3288250b68f286f2c4e0fbc38 (patch) | |
tree | 139095c196b0bbace6a5b492b99c35b9c9c17642 /telecomm/java | |
parent | 15e0758f705f5ba8972eee10002374ce0f7378db (diff) | |
parent | f61f8e7cafb7766382c2fb4d40944940dcf6230c (diff) |
Merge "Add hidden API for raw route mask to support call audio routing refactor." into main
Diffstat (limited to 'telecomm/java')
-rw-r--r-- | telecomm/java/android/telecom/CallAudioState.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/CallAudioState.java b/telecomm/java/android/telecom/CallAudioState.java index c7cc1bd88bdf..49e9232ad535 100644 --- a/telecomm/java/android/telecom/CallAudioState.java +++ b/telecomm/java/android/telecom/CallAudioState.java @@ -199,6 +199,16 @@ public final class CallAudioState implements Parcelable { } /** + * @return Bit mask of all routes supported by this call, won't be changed by streaming state. + * + * @hide + */ + @CallAudioRoute + public int getRawSupportedRouteMask() { + return supportedRouteMask; + } + + /** * @return The {@link BluetoothDevice} through which audio is being routed. * Will not be {@code null} if {@link #getRoute()} returns {@link #ROUTE_BLUETOOTH}. */ |