diff options
author | 2023-12-06 16:08:55 -0800 | |
---|---|---|
committer | 2023-12-06 16:08:55 -0800 | |
commit | f61f8e7cafb7766382c2fb4d40944940dcf6230c (patch) | |
tree | 54d1fd8869cbba5455c59009d77c0e7ac1514f15 /telecomm/java | |
parent | 67eae297b142712211f82d4fe5b94be72bf6337b (diff) |
Add hidden API for raw route mask to support call audio routing
refactor.
Bug: b/306395598
Test: Unit test from telecom stack
Change-Id: Ie49456a07b16e5614456f4483ef8072aa7eb8545
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}. */ |