commit | b66ad7275873ed4bc7fb50049d118856e29859eb | [log] [tgz] |
---|---|---|
author | Oscar Azucena <oscarazu@google.com> | Fri Nov 08 18:25:39 2019 -0800 |
committer | Oscar Azucena <oscarazu@google.com> | Wed Dec 11 13:36:32 2019 -0800 |
tree | 2a987bf034917ee53eb0e4b4310a0272da5718d8 | |
parent | 5882632b9a20a0935ef63189c90a9af092618929 [diff] |
Added usage to init call for audiostream registration. Player type AAudio are always initialized with AUDIO_USAGE_MEDIA. Added fix to initialize with assigned usage. Bug: 143578354 Test: ran native application with usage of AUDIO_USAGE_NOTIFICATION Test: atest CtsNativeMediaAAudioTestCases Change-Id: I170e0b55d7f90b59d9b5129b22f4a9080957994b Merged-In: I170e0b55d7f90b59d9b5129b22f4a9080957994b