diff options
author | Kriti Dang <kritidang@google.com> | 2021-06-04 14:51:48 +0200 |
---|---|---|
committer | Kriti Dang <kritidang@google.com> | 2021-07-14 17:25:25 +0000 |
commit | 00e49c1482c8db1044ad9134f0bf98a4512f8241 (patch) | |
tree | ae9bd603554dac16205d976fe66093f47e161fab /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions