commit | 9fb726888dda17b68fd924b963d34e6ce9454ba1 | [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 21:33:58 2019 +0000 |
tree | bf96e99b9047f37c2a0734cf77ae0c8494615a11 | |
parent | 960bbfab7bd5f2fff6afdecb920f21b8eb3fee45 [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