diff options
author | Oscar Azucena <oscarazu@google.com> | 2021-04-28 12:46:53 -0700 |
---|---|---|
committer | Oscar Azucena <oscarazu@google.com> | 2021-04-29 22:18:15 -0700 |
commit | b4cca57bfcd2c9dbb2d3ff83f7ed7630c36b6ae0 (patch) | |
tree | 11ab6935e53c6c49006e2c7bc37e583318681d9c /docs/html/sdk/api_diff/20/changes | |
parent | e1b86e81b50ef803ef4d3fb01ed6ef83aff71de5 (diff) |
Fixed AudioMixingRule usage of AudioAttribute#getUsage
Given that system usages were added to the AudioAttributes, system
components need to use the API were applicable. AudioMixingRule was
missing this and thus the audio attribute usage base routing did not
work correctly. In particular the registration of the audio policy mixing
rules would not register the system usages based routing correctly.
Instead, the match usage rule would default to unknown usage instead of
the requested system usage.
Bug: 186661937
Bug: 186442942
Bug: 186158497
Test: build gcar_emu_x86 and run car kitchen sink to make sure routing
performed as expected.
Change-Id: I4aaedf1b6b9144bd2e84d2d7112b5ebcf744a8b2
Diffstat (limited to 'docs/html/sdk/api_diff/20/changes')
0 files changed, 0 insertions, 0 deletions