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

Commit f61f8e7c authored by xiaotonj's avatar xiaotonj
Browse files

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
parent 67eae297
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}.