commit | 8ca4bbab571cb411e6b58e3dd3fb170a7bddb252 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Wed Feb 12 15:43:01 2020 -0800 |
committer | Hayden Gomes <haydengomes@google.com> | Fri Feb 28 12:35:26 2020 -0800 |
tree | 694a98e2dead6f9c86f33e9e28f978a2cc463411 | |
parent | 47ac39736c643451caab5644726a557756c4d481 [diff] |
Adding CarAudioContexts for System Usages - Added CarAudioContexts to match each new system usage - Expanded FocusInteractions to include new contexts - Updated calls for getUsage to use getSystemUsage - For VolumeGroup association and Routing: - Updated legacy helper to automatially associated these contexts with the media bus - Updated helper to associated these contexts with the media bus if V1 of car_audio_configuration.xml, and to parse them if V2+ (Cherry-picked from 287c5bcf5bd00e319df28b809350d4ee9470dbc7) Bug: 144872669 Test: atest com.android.car.audio Change-Id: I14670f3cff1b225da567b183926ffc7f2aa9e2f6 Merged-In: I14670f3cff1b225da567b183926ffc7f2aa9e2f6
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.