commit | ab7dbca15f92b5052891273bcf555581a55ace48 | [log] [tgz] |
---|---|---|
author | Hayden Gomes <haydengomes@google.com> | Thu Jan 21 14:30:34 2021 -0800 |
committer | Hayden Gomes <haydengomes@google.com> | Fri Jan 29 16:31:49 2021 +0000 |
tree | ba1790a5b96d2fc3888c9c8fea061b687f4aee22 | |
parent | e34ebf1ac39a2921693b3d83e2d803f3d7e816b6 [diff] |
Connecting audio focus changes to CarDucking CarService now initializes CarDucking and registers it as a callback on CarZonesAudioFocus. This will send CarDucking updates whenever there's a focus change event. Bug: 158242859 Test: atest CarZonesAudioFocusTest Change-Id: I7862069970b1b7c582d0a85273f74e8ad7e9e57d Merged-In: I7862069970b1b7c582d0a85273f74e8ad7e9e57d (cherry picked from commit 14a61f57e429e5c51276dded705c6de619539a17)
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.