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

Commit 3f48f4e9 authored by Hayden Gomes's avatar Hayden Gomes
Browse files

Deprecate IAudioControl.getBusForContext

Usage of this API has been replaced by car_audio_configuration.xml.
Bug: 135625954
Test: Built and ran on device

Change-Id: I09440446cbfeb2e5c321899767bee7bfdd29e129
parent aec59a59
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ interface IAudioControl {
     *
     * For every context, a valid bus number (0 - num busses-1) must be returned. If an
     * unrecognized contextNumber is encountered, then -1 shall be returned.
     *
     * Deprecated: usage of this API and car_volume_groups.xml has been replaced with
     * car_audio_configuration.xml. If using car_audio_configuration.xml, then the framework
     * will not call this method. If it doesn't, then it will load car_volume_groups.xml and
     * call this method.
     */
    getBusForContext(ContextNumber contextNumber)
        generates (int32_t busNumber);