Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b80207f6 authored by Xiaotong Jia's avatar Xiaotong Jia Committed by Android (Google) Code Review
Browse files

Merge "Add hidden API for raw route mask to support call audio routing refactor." into main

parents 15e0758f f61f8e7c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -198,6 +198,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}.