diff options
-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}. */ |