commit | b00e47c473a05e0bfdcb70923d4f3b7732182a76 | [log] [tgz] |
---|---|---|
author | Oscar Azucena <oscarazu@google.com> | Thu May 30 20:46:31 2019 -0700 |
committer | Oscar Azucena <oscarazu@google.com> | Tue Jun 04 19:33:36 2019 -0700 |
tree | eda9a995e1f11f1c3ad4b14d7e3dd7b41089f20c | |
parent | ffe68587bb0b80ae824c3f6babb2e9cfcbef8b20 [diff] |
Added bundle information for zone audio focus Added AUDIOFOCUS_EXTRA_REQUEST_ZONE_ID key to use in conjuction with AudioAttribute and Bundle to pass along the zone id information to the audio focus manager. Also added api to CarAudioManager to query zone id for display port id, getZoneIdForDisplayPortId. This can be use to request audio focus for each display independently. Also added auto kitchensink ui for testing the audio focus request for a particular display. Bug: 134104943 Test: Android Auto Kitchen sink app Change-Id: Ic26750b2d0e184ae3e4f721735e40d2935e2a2ef
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.