The AudioGroup constructor with a Context parameter does not exist on Q devices. Use the previous constructor on older devices. Test: atest CtsNetTestCasesLatestSdk on Q and R devices Bug: 150918852 Merged-In: I24c3e7ab8c7219d6f345943ead3e3b6418fa7f47 Change-Id: I24c3e7ab8c7219d6f345943ead3e3b6418fa7f47