commit | 00e49c1482c8db1044ad9134f0bf98a4512f8241 | [log] [tgz] |
---|---|---|
author | Kriti Dang <kritidang@google.com> | Fri Jun 04 14:51:48 2021 +0200 |
committer | Kriti Dang <kritidang@google.com> | Wed Jul 14 17:25:25 2021 +0000 |
tree | ae9bd603554dac16205d976fe66093f47e161fab | |
parent | 0c36db22b424e6ceb93d81f1b0686908654f8482 [diff] |
Make AudioManager.getReportedSurroundFormats a TestApi Access to the API needed from a tunnel mode CTS test. TestAPIs dont work in CTS test if they intrenally call AudioSystem. Changing getSurroundFormats and getReportedSurroundFormats to call AudioService instead of AudioSystem. Bug: 189823767 Test: atest android.media.cts.DecoderTest#testTunneledAudioPTSGapsAc3 Change-Id: If6287743f57b77d0eb2639e4a2e9409c7d778f06 Merged-In: If6287743f57b77d0eb2639e4a2e9409c7d778f06